dolphin/Source/Core/UICommon
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
..
CMakeLists.txt Migrate global init stuff into UICommon. 2014-10-05 20:47:37 -04:00
UICommon.cpp Fix user directories at times doing stupid things. 2015-03-15 09:19:48 -05:00
UICommon.h Move user directory detection location to UICommon. 2015-02-25 03:31:59 -06:00
UICommon.vcxproj Migrate global init stuff into UICommon. 2014-10-05 20:47:37 -04:00