diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-09-20 03:53:04 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-09-22 01:53:05 +0200 |
commit | bd8db3f7f84a050a3837c1ae05832d2da63cfbb4 (patch) | |
tree | daff3730bd8fcd8ed79b219fe6f3b78f362b2b3a | |
parent | Merge pull request #1379 from lioncash/bitwise (diff) | |
download | yuzu-bd8db3f7f84a050a3837c1ae05832d2da63cfbb4.tar yuzu-bd8db3f7f84a050a3837c1ae05832d2da63cfbb4.tar.gz yuzu-bd8db3f7f84a050a3837c1ae05832d2da63cfbb4.tar.bz2 yuzu-bd8db3f7f84a050a3837c1ae05832d2da63cfbb4.tar.lz yuzu-bd8db3f7f84a050a3837c1ae05832d2da63cfbb4.tar.xz yuzu-bd8db3f7f84a050a3837c1ae05832d2da63cfbb4.tar.zst yuzu-bd8db3f7f84a050a3837c1ae05832d2da63cfbb4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/common_paths.h | 2 | ||||
-rw-r--r-- | src/common/file_util.cpp | 2 | ||||
-rw-r--r-- | src/common/file_util.h | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/common/common_paths.h b/src/common/common_paths.h index df2ce80b1..4f88de768 100644 --- a/src/common/common_paths.h +++ b/src/common/common_paths.h @@ -33,6 +33,8 @@ #define NAND_DIR "nand" #define SYSDATA_DIR "sysdata" #define KEYS_DIR "keys" +#define LOAD_DIR "load" +#define DUMP_DIR "dump" #define LOG_DIR "log" // Filenames diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp index 21a0b9738..548463787 100644 --- a/src/common/file_util.cpp +++ b/src/common/file_util.cpp @@ -705,6 +705,8 @@ const std::string& GetUserPath(UserPath path, const std::string& new_path) { #endif paths.emplace(UserPath::SDMCDir, user_path + SDMC_DIR DIR_SEP); paths.emplace(UserPath::NANDDir, user_path + NAND_DIR DIR_SEP); + paths.emplace(UserPath::LoadDir, user_path + LOAD_DIR DIR_SEP); + paths.emplace(UserPath::DumpDir, user_path + DUMP_DIR DIR_SEP); paths.emplace(UserPath::SysDataDir, user_path + SYSDATA_DIR DIR_SEP); paths.emplace(UserPath::KeysDir, user_path + KEYS_DIR DIR_SEP); // TODO: Put the logs in a better location for each OS diff --git a/src/common/file_util.h b/src/common/file_util.h index 24c1e413c..3d8fe6264 100644 --- a/src/common/file_util.h +++ b/src/common/file_util.h @@ -29,6 +29,8 @@ enum class UserPath { NANDDir, RootDir, SDMCDir, + LoadDir, + DumpDir, SysDataDir, UserDir, }; |