aboutsummaryrefslogtreecommitdiff
path: root/src/common/file_util.cpp
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-09-19 21:53:04 -0400
committerZach Hilman <zachhilman@gmail.com>2018-09-21 19:53:05 -0400
commitbd8db3f7f84a050a3837c1ae05832d2da63cfbb4 (patch)
treedaff3730bd8fcd8ed79b219fe6f3b78f362b2b3a /src/common/file_util.cpp
parent4f186de0690536ab3a58c8a5746da9928e78223c (diff)
common_paths: Add Load and Dump dirs
Diffstat (limited to 'src/common/file_util.cpp')
-rw-r--r--src/common/file_util.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp
index 21a0b97389..5484637879 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