mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
UICommon: Use NORMAL_USER_DIR for Windows
This commit is contained in:
parent
5e3d77adae
commit
7f962a4146
@ -11,7 +11,7 @@
|
||||
#define ROOT_DIR "."
|
||||
#ifdef _WIN32
|
||||
#define PORTABLE_USER_DIR "User"
|
||||
#define NORMAL_USER_DIR "Dolphin"
|
||||
#define NORMAL_USER_DIR "Dolphin Emulator"
|
||||
#elif defined __APPLE__
|
||||
// On OS X, PORTABLE_USER_DIR exists within the .app, but *always* reference
|
||||
// the copy in Application Support instead! (Copied on first run)
|
||||
|
@ -340,7 +340,7 @@ void SetUserDirectory(std::string custom_path)
|
||||
std::optional<std::string> old_user_folder;
|
||||
if (documents_found)
|
||||
{
|
||||
old_user_folder = TStrToUTF8(documents) + DIR_SEP "Dolphin Emulator" DIR_SEP;
|
||||
old_user_folder = TStrToUTF8(documents) + DIR_SEP NORMAL_USER_DIR DIR_SEP;
|
||||
}
|
||||
|
||||
if (local) // Case 1-2
|
||||
@ -357,7 +357,7 @@ void SetUserDirectory(std::string custom_path)
|
||||
}
|
||||
else if (appdata_found) // Case 5
|
||||
{
|
||||
user_path = TStrToUTF8(appdata) + DIR_SEP "Dolphin Emulator" DIR_SEP;
|
||||
user_path = TStrToUTF8(appdata) + DIR_SEP NORMAL_USER_DIR DIR_SEP;
|
||||
|
||||
// Set the UserConfigPath value in the registry for backwards compatibility with older Dolphin
|
||||
// builds, which will look for the default User directory in Documents. If we set this key,
|
||||
|
Loading…
x
Reference in New Issue
Block a user