dolphin-emulator/Source/Core
Ryan Houdek aaf04aeaca Fix user directories at times doing stupid things.
With my previous changes Dolphin would fail to create the user directory if it didn't exist, and would dump all the configuration options in to the cwdir.
This was a bit more complicated to fix in a clean fashion, so I took to moving around code concerning user directories.
Instead of having GetUserPath serve a dual purpose of both getting and setting our user directories, break out to a new SetUserPath function.

GetUserPath will know only get the configured user path.
SetUserPath will set our user paths and setup the internal user path state.

This ending up being a lot cleaner overall, which is nice. Also less mind bending when attempting to read the code.

So now we won't dump all of our configuration in to the cwdir if ~/.dolphin-emu isn't found.

Fixes issue 8371.
2015-03-15 09:19:48 -05:00
..
AudioCommon Formatting/Whitespace Cleanup 2015-02-25 10:48:21 -05:00
Common Fix user directories at times doing stupid things. 2015-03-15 09:19:48 -05:00
Core Fix user directories at times doing stupid things. 2015-03-15 09:19:48 -05:00
DiscIO Don't construct NANDContentLoader classes before Main.cpp runs 2015-03-09 16:08:32 +01:00
DolphinQt Merge pull request #2129 from Sonicadvance1/shuffle_user_dir 2015-02-27 14:07:06 +11:00
DolphinWX Fix user directories at times doing stupid things. 2015-03-15 09:19:48 -05:00
InputCommon Fixed the crash that would occur when the Refresh button was pressed in the controllers config. 2015-03-08 20:27:13 +11:00
UICommon Fix user directories at times doing stupid things. 2015-03-15 09:19:48 -05:00
VideoBackends GLX: fix memory leak 2015-03-08 17:42:37 +01:00
VideoCommon VertexLoaderX64: fix harmless off-by-one error 2015-03-08 04:43:59 +01:00
CMakeLists.txt Merge pull request #1085 from waddlesplash/refactoring 2014-10-05 21:25:44 -04:00