summaryrefslogtreecommitdiff
path: root/src/common/file_util.cpp
diff options
context:
space:
mode:
authorGravatar freiro2016-11-26 01:00:52 +0100
committerGravatar freiro2016-11-26 01:00:52 +0100
commit972b289c787c6f6cc4f097d838b697a767b1642f (patch)
tree38493b6e62cd1e2ae94276054546303bdfaad69b /src/common/file_util.cpp
parentSwitch to AppData/Roaming (diff)
downloadyuzu-972b289c787c6f6cc4f097d838b697a767b1642f.tar.gz
yuzu-972b289c787c6f6cc4f097d838b697a767b1642f.tar.xz
yuzu-972b289c787c6f6cc4f097d838b697a767b1642f.zip
Removed /user/ from path
Diffstat (limited to 'src/common/file_util.cpp')
-rw-r--r--src/common/file_util.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp
index 6661fe96a..413a8e7e5 100644
--- a/src/common/file_util.cpp
+++ b/src/common/file_util.cpp
@@ -684,8 +684,7 @@ const std::string& GetUserPath(const unsigned int DirIDX, const std::string& new
684#ifdef _WIN32 684#ifdef _WIN32
685 paths[D_USER_IDX] = GetExeDirectory() + DIR_SEP USERDATA_DIR DIR_SEP; 685 paths[D_USER_IDX] = GetExeDirectory() + DIR_SEP USERDATA_DIR DIR_SEP;
686 if (!FileUtil::IsDirectory(paths[D_USER_IDX])) { 686 if (!FileUtil::IsDirectory(paths[D_USER_IDX])) {
687 paths[D_USER_IDX] = 687 paths[D_USER_IDX] = AppDataRoamingDirectory() + DIR_SEP EMU_DATA_DIR DIR_SEP;
688 AppDataRoamingDirectory() + DIR_SEP EMU_DATA_DIR DIR_SEP USERDATA_DIR DIR_SEP;
689 } 688 }
690 689
691 paths[D_CONFIG_IDX] = paths[D_USER_IDX] + CONFIG_DIR DIR_SEP; 690 paths[D_CONFIG_IDX] = paths[D_USER_IDX] + CONFIG_DIR DIR_SEP;