VERY experimental Nintendo Switch 2 emulator
C++
common_paths: Add Load and Dump dirs
Zach Hilman2f2bd3b952c5
diff --git a/src/common/common_paths.h b/src/common/common_paths.hindex df2ce80b13..4f88de768c 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"// Filenamesdiff --git a/src/common/file_util.cpp b/src/common/file_util.cppindex 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) {#endifpaths.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 OSdiff --git a/src/common/file_util.h b/src/common/file_util.hindex 24c1e413ce..3d8fe62647 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,};