summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OpcodeDecoding.cpp
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2015-03-15 08:51:13 -0500
committerRyan Houdek <Sonicadvance1@gmail.com>2015-03-15 09:19:48 -0500
commitaaf04aeacac3c50b0123a1d9127bb0bcf450a242 (patch)
tree14fb2a7684270b5b0575eba8c5d679cc11b4ef91 /Source/Core/VideoCommon/OpcodeDecoding.cpp
parent7be1498a433df767f9e423870d8ccdc3b6e2e8dc (diff)
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.
Diffstat (limited to 'Source/Core/VideoCommon/OpcodeDecoding.cpp')
0 files changed, 0 insertions, 0 deletions