Use global user directory on windows.

Can override by setting HKCU\Software\Dolphin-emu\LocalUserConfig to true.
This commit is contained in:
Rachel Bryk
2013-08-25 14:31:11 -04:00
committed by Pierre Bourdon
parent aaf8e92f78
commit dfcef6890e
3 changed files with 48 additions and 6 deletions

View File

@ -268,6 +268,7 @@ bool DolphinApp::OnInit()
File::CopyDir(std::string(SHARED_USER_DIR OPENCL_DIR DIR_SEP),
File::GetUserPath(D_OPENCL_IDX));
#endif
File::CreateFullPath(File::GetUserPath(D_USER_IDX));
File::CreateFullPath(File::GetUserPath(D_CONFIG_IDX));
File::CreateFullPath(File::GetUserPath(D_GCUSER_IDX));
File::CreateFullPath(File::GetUserPath(D_CACHE_IDX));