dolphin/Source/Core/DolphinWX
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
..
Android [Android] Stop eating button events we don't handle. 2015-02-24 05:38:16 -06:00
Cheats Rename "Cheats Manager" to "Cheat Manager" 2015-03-12 15:24:00 -04:00
Debugger Added the ability to split the Debugger window horizontally and vertically via the Add Panes menu. 2015-03-07 12:33:33 +11:00
resources Removed SDK flag 2014-11-18 19:44:17 -05:00
AboutDolphin.cpp Clean Up 2015-01-24 17:10:21 -06:00
AboutDolphin.h Formatting/Whitespace Cleanup 2015-02-25 10:48:21 -05:00
ARCodeAddEdit.cpp Fix 4.0-5689 regression (AR codes, patches) 2015-03-06 12:26:40 +01:00
ARCodeAddEdit.h Fix 4.0-5689 regression (AR codes, patches) 2015-03-06 12:26:40 +01:00
CMakeLists.txt CMake: simplify some expressions 2015-01-03 13:17:57 +01:00
ConfigMain.cpp Fix user directories at times doing stupid things. 2015-03-15 09:19:48 -05:00
ConfigMain.h Formatting/Whitespace Cleanup 2015-02-25 10:48:21 -05:00
ControllerConfigDiag.cpp Fixed the crash that would occur when the Refresh button was pressed in the controllers config. 2015-03-08 20:27:13 +11:00
ControllerConfigDiag.h Removed the GC Adapter "Use Thread" option as it was not useful. 2015-03-05 23:30:43 +11:00
DolphinWX.rc
DolphinWX.vcxproj WiimoteConfigDiag: Rename to ControllerConfigDiag. 2014-12-01 03:36:07 -05:00
DolphinWX.vcxproj.filters WiimoteConfigDiag: Rename to ControllerConfigDiag. 2014-12-01 03:36:07 -05:00
DolphinWX.vcxproj.user Rename menu items, stop using PanicAlertT, remove -d when running from visual studio. 2014-12-17 01:12:33 +10:30
FifoPlayerDlg.cpp Formatting/Whitespace Cleanup 2015-02-25 10:48:21 -05:00
FifoPlayerDlg.h Formatting/Whitespace Cleanup 2015-02-25 10:48:21 -05:00
Frame.cpp DolphinWX: Changed "OnShow_CheatsWindow" to "OnShowCheatsWindow" 2015-03-13 15:20:19 -04:00
Frame.h DolphinWX: Changed "OnShow_CheatsWindow" to "OnShowCheatsWindow" 2015-03-13 15:20:19 -04:00
FrameAui.cpp Added the ability to split the Debugger window horizontally and vertically via the Add Panes menu. 2015-03-07 12:33:33 +11:00
FrameTools.cpp DolphinWX: Changed "OnShow_CheatsWindow" to "OnShowCheatsWindow" 2015-03-13 15:20:19 -04:00
GameListCtrl.cpp Merge pull request #2197 from RachelBryk/paren 2015-03-12 07:58:05 +01:00
GameListCtrl.h DolphinWX: Allow cancelling gcz compression. 2014-11-27 07:53:28 -08:00
Globals.h Added the ability to split the Debugger window horizontally and vertically via the Add Panes menu. 2015-03-07 12:33:33 +11:00
HotkeyDlg.cpp Added the ability to map gamepad buttons to hotkeys. 2015-01-27 12:24:47 +11:00
HotkeyDlg.h Renamed the Menu Accelerators to Key Shortcuts. 2015-03-08 20:27:13 +11:00
Info.plist.in
InputConfigDiag.cpp Fixed the wiimote profiles not taking effect. 2015-03-09 08:32:14 +11:00
InputConfigDiag.h DolphinWX: Get rid of unnecessary Destroy calls 2015-02-11 09:38:38 -05:00
InputConfigDiagBitmaps.cpp HotKey: fix warnings 2015-02-04 20:19:16 +01:00
ISOFile.cpp Merge pull request #1942 from Buddybenj/No-Intro 2015-02-23 12:56:28 +11:00
ISOFile.h Add missing includes where headers depend on other headers having been included first. 2014-10-21 21:22:16 -04:00
ISOProperties.cpp Fix 4.0-5689 regression (AR codes, patches) 2015-03-06 12:26:40 +01:00
ISOProperties.h Merge pull request #2120 from JosJuice/show-default-gameini 2015-02-27 17:58:42 +01:00
LogConfigWindow.cpp DolphinWX: Remove unnecessary forward declarations 2014-11-07 22:16:13 -05:00
LogConfigWindow.h Revert "Merge pull request #83 from lioncash/remove-console" 2014-02-23 07:48:06 +01:00
LogWindow.cpp DolphinWX: Clean up some wxTimer code 2015-02-28 20:32:37 -05:00
LogWindow.h DolphinWX: Clean up some wxTimer code 2015-02-28 20:32:37 -05:00
Main.cpp Call SetUserDirectory before InitLanguageSupport 2015-03-04 14:45:36 +01:00
Main.h DolphinWX: Kill off trivial event tables 2014-11-09 00:08:33 -05:00
MainAndroid.cpp [Android] Support arguments from Activity Monitor. 2015-03-08 08:43:25 -05:00
MainNoGUI.cpp Merge pull request #2129 from Sonicadvance1/shuffle_user_dir 2015-02-27 14:07:06 +11:00
MemcardManager.cpp Formatting/Whitespace Cleanup 2015-02-25 10:48:21 -05:00
MemcardManager.h Include CommonTypes.h instead of Common.h. 2014-09-08 15:39:58 -04:00
NetWindow.cpp Added TraversalServer.cpp to Core/Common 2015-02-25 18:28:27 -08:00
NetWindow.h Added Gui elements in Netplay Setup Diag so a person can choose a traversal server 2015-02-25 18:28:26 -08:00
PatchAddEdit.cpp Fix 4.0-5689 regression (AR codes, patches) 2015-03-06 12:26:40 +01:00
PatchAddEdit.h Fix 4.0-5689 regression (AR codes, patches) 2015-03-06 12:26:40 +01:00
PostProcessingConfigDiag.cpp Formatting/Whitespace Cleanup 2015-02-25 10:48:21 -05:00
PostProcessingConfigDiag.h Add the configuration dialog for post processing configuration options. 2014-08-13 01:05:15 -05:00
resource.h
SoftwareVideoConfigDialog.cpp DolphinWX: Specify wxID_ANY where -1 is used in controls 2014-12-01 23:02:50 -05:00
SoftwareVideoConfigDialog.h Isolate D3D and Software Renderer from wxWidgets code 2014-08-03 20:28:50 -04:00
TASInputDlg.cpp Formatting/Whitespace Cleanup 2015-02-25 10:48:21 -05:00
TASInputDlg.h DolphinWX: Specify wxID_ANY where -1 is used in controls 2014-12-01 23:02:50 -05:00
VideoConfigDiag.cpp VideoConfigDiag: Rename EFB Copies to RAM option 2015-02-28 23:00:49 -05:00
VideoConfigDiag.h VideoCommon: always enable efb copy 2015-02-24 23:01:01 +01:00
WXInputBase.cpp DolphinWX: Make WXInputBase part of the WxUtils namespace. 2014-10-05 05:31:48 -04:00
WXInputBase.h DolphinWX: Make WXInputBase part of the WxUtils namespace. 2014-10-05 05:31:48 -04:00
WxUtils.cpp WxUtils: Get rid of GetCurrentBitmapLogicalScale 2014-11-17 20:16:33 -05:00
WxUtils.h WxUtils: Get rid of GetCurrentBitmapLogicalScale 2014-11-17 20:16:33 -05:00
X11Utils.cpp Video: Remove more debug spew in XRANDR mode code 2015-01-07 20:23:09 +00:00
X11Utils.h Host: Add Host_RendererIsFullscreen(). 2015-01-04 17:09:56 +01:00