From db06f058e4f2ae19a74806aaf28c8e2dc94ac79f Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Wed, 25 Feb 2015 03:23:42 -0600 Subject: 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. --- Source/Core/DolphinWX/MainNoGUI.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/Core/DolphinWX/MainNoGUI.cpp') 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(); -- cgit v1.2.3