diff options
author | Subv <subv2112@gmail.com> | 2014-12-29 19:04:37 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2014-12-30 04:29:55 +0100 |
commit | 2c89d4d5cd4e308b04cebb1c9bca48e12f0945da (patch) | |
tree | ea0a85e43943ba76418f27a68572e8602dbd9839 /src/common | |
parent | Merge pull request #367 from bunnei/usat_ssat (diff) | |
download | yuzu-2c89d4d5cd4e308b04cebb1c9bca48e12f0945da.tar yuzu-2c89d4d5cd4e308b04cebb1c9bca48e12f0945da.tar.gz yuzu-2c89d4d5cd4e308b04cebb1c9bca48e12f0945da.tar.bz2 yuzu-2c89d4d5cd4e308b04cebb1c9bca48e12f0945da.tar.lz yuzu-2c89d4d5cd4e308b04cebb1c9bca48e12f0945da.tar.xz yuzu-2c89d4d5cd4e308b04cebb1c9bca48e12f0945da.tar.zst yuzu-2c89d4d5cd4e308b04cebb1c9bca48e12f0945da.zip |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/common_paths.h | 1 | ||||
-rw-r--r-- | src/common/file_util.cpp | 2 | ||||
-rw-r--r-- | src/common/file_util.h | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/src/common/common_paths.h b/src/common/common_paths.h index 9d62a8368..d3f0702bc 100644 --- a/src/common/common_paths.h +++ b/src/common/common_paths.h @@ -40,6 +40,7 @@ #define MAPS_DIR "maps" #define CACHE_DIR "cache" #define SDMC_DIR "sdmc" +#define EXTSAVEDATA_DIR "extsavedata" #define SAVEDATA_DIR "savedata" #define SYSDATA_DIR "sysdata" #define SYSSAVEDATA_DIR "syssavedata" diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp index bba830c70..c44ad4ca1 100644 --- a/src/common/file_util.cpp +++ b/src/common/file_util.cpp @@ -676,6 +676,7 @@ const std::string& GetUserPath(const unsigned int DirIDX, const std::string &new paths[D_MAPS_IDX] = paths[D_USER_IDX] + MAPS_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_EXTSAVEDATA] = paths[D_USER_IDX] + EXTSAVEDATA_DIR DIR_SEP; paths[D_SAVEDATA_IDX] = paths[D_USER_IDX] + SAVEDATA_DIR DIR_SEP; paths[D_SYSDATA_IDX] = paths[D_USER_IDX] + SYSDATA_DIR DIR_SEP; paths[D_SYSSAVEDATA_IDX] = paths[D_USER_IDX] + SYSSAVEDATA_DIR DIR_SEP; @@ -720,6 +721,7 @@ const std::string& GetUserPath(const unsigned int DirIDX, const std::string &new paths[D_MAPS_IDX] = paths[D_USER_IDX] + MAPS_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_EXTSAVEDATA] = paths[D_USER_IDX] + EXTSAVEDATA_DIR DIR_SEP; paths[D_SAVEDATA_IDX] = paths[D_USER_IDX] + SAVEDATA_DIR DIR_SEP; paths[D_SYSSAVEDATA_IDX] = paths[D_USER_IDX] + SYSSAVEDATA_DIR DIR_SEP; paths[D_SHADERCACHE_IDX] = paths[D_USER_IDX] + SHADERCACHE_DIR DIR_SEP; diff --git a/src/common/file_util.h b/src/common/file_util.h index 293c30941..ec2415473 100644 --- a/src/common/file_util.h +++ b/src/common/file_util.h @@ -27,6 +27,7 @@ enum { D_STATESAVES_IDX, D_SCREENSHOTS_IDX, D_SDMC_IDX, + D_EXTSAVEDATA, D_SAVEDATA_IDX, D_SYSDATA_IDX, D_SYSSAVEDATA_IDX, |