diff options
author | wwylele <wwylele@gmail.com> | 2016-12-23 21:19:05 +0100 |
---|---|---|
committer | wwylele <wwylele@gmail.com> | 2016-12-23 21:19:14 +0100 |
commit | 488b7a4041b639baf01afde770d0456cc84c539c (patch) | |
tree | f3b9dba913703aab830b011884f2fcf111409967 /src/common | |
parent | Merge pull request #2366 from MerryMage/MemoryReadCode (diff) | |
download | yuzu-488b7a4041b639baf01afde770d0456cc84c539c.tar yuzu-488b7a4041b639baf01afde770d0456cc84c539c.tar.gz yuzu-488b7a4041b639baf01afde770d0456cc84c539c.tar.bz2 yuzu-488b7a4041b639baf01afde770d0456cc84c539c.tar.lz yuzu-488b7a4041b639baf01afde770d0456cc84c539c.tar.xz yuzu-488b7a4041b639baf01afde770d0456cc84c539c.tar.zst yuzu-488b7a4041b639baf01afde770d0456cc84c539c.zip |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/file_util.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp index 5ab938a24..1a1f5d9b5 100644 --- a/src/common/file_util.cpp +++ b/src/common/file_util.cpp @@ -697,9 +697,6 @@ const std::string& GetUserPath(const unsigned int DirIDX, const std::string& new paths[D_CONFIG_IDX] = paths[D_USER_IDX] + CONFIG_DIR DIR_SEP; paths[D_CACHE_IDX] = paths[D_USER_IDX] + CACHE_DIR DIR_SEP; - paths[D_SDMC_IDX] = paths[D_USER_IDX] + SDMC_DIR DIR_SEP; - paths[D_NAND_IDX] = paths[D_USER_IDX] + NAND_DIR DIR_SEP; - paths[D_SYSDATA_IDX] = paths[D_USER_IDX] + SYSDATA_DIR DIR_SEP; #else if (FileUtil::Exists(ROOT_DIR DIR_SEP USERDATA_DIR)) { paths[D_USER_IDX] = ROOT_DIR DIR_SEP USERDATA_DIR DIR_SEP; @@ -717,6 +714,7 @@ const std::string& GetUserPath(const unsigned int DirIDX, const std::string& new #endif paths[D_SDMC_IDX] = paths[D_USER_IDX] + SDMC_DIR DIR_SEP; paths[D_NAND_IDX] = paths[D_USER_IDX] + NAND_DIR DIR_SEP; + paths[D_SYSDATA_IDX] = paths[D_USER_IDX] + SYSDATA_DIR DIR_SEP; } if (!newPath.empty()) { |