diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2015-02-25 03:23:42 -0600 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2015-02-25 03:31:59 -0600 |
| commit | db06f058e4f2ae19a74806aaf28c8e2dc94ac79f (patch) | |
| tree | e5deb7951b5d498a519ce5003905a0db4ce0f391 /Source/Core/DolphinWX/MainNoGUI.cpp | |
| parent | 792e166f87a2483dc33771fae4fcfd2a6ac29bab (diff) | |
Move user directory detection location to UICommon.
The UI should decide on where it wants the user directory, not our core system.
This is in anticipation of some upcoming work on Android which will need proper user directory setting.
Diffstat (limited to 'Source/Core/DolphinWX/MainNoGUI.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/MainNoGUI.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/MainNoGUI.cpp b/Source/Core/DolphinWX/MainNoGUI.cpp index 8d6d0282a6..bd82c8b4f5 100644 --- a/Source/Core/DolphinWX/MainNoGUI.cpp +++ b/Source/Core/DolphinWX/MainNoGUI.cpp @@ -324,6 +324,7 @@ int main(int argc, char* argv[]) return 1; } + UICommon::SetUserDirectory(""); // Auto-detect user folder UICommon::Init(); platform->Init(); |
