mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-27 04:36:18 +00:00
Replace backslashes with slashes for Windows home dir
This commit is contained in:
parent
79e64c5381
commit
1c94125e6e
1 changed files with 1 additions and 0 deletions
|
@ -760,6 +760,7 @@ std::string GetHomeDirectory()
|
|||
const char* home = getenv("USERPROFILE");
|
||||
homeDir = std::string(home) + "\\Documents";
|
||||
}
|
||||
homeDir = ReplaceAll(std::move(homeDir), "\\", DIR_SEP);
|
||||
#else
|
||||
const char* home = getenv("HOME");
|
||||
homeDir = std::string(home);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue