diff options
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/common_paths.h | 1 | ||||
| -rw-r--r-- | src/common/file_util.cpp | 1 | ||||
| -rw-r--r-- | src/common/file_util.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/common/common_paths.h b/src/common/common_paths.h index 6799a357a..df2ce80b1 100644 --- a/src/common/common_paths.h +++ b/src/common/common_paths.h | |||
| @@ -32,6 +32,7 @@ | |||
| 32 | #define SDMC_DIR "sdmc" | 32 | #define SDMC_DIR "sdmc" |
| 33 | #define NAND_DIR "nand" | 33 | #define NAND_DIR "nand" |
| 34 | #define SYSDATA_DIR "sysdata" | 34 | #define SYSDATA_DIR "sysdata" |
| 35 | #define KEYS_DIR "keys" | ||
| 35 | #define LOG_DIR "log" | 36 | #define LOG_DIR "log" |
| 36 | 37 | ||
| 37 | // Filenames | 38 | // Filenames |
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp index ed38c3ced..7aeda737f 100644 --- a/src/common/file_util.cpp +++ b/src/common/file_util.cpp | |||
| @@ -706,6 +706,7 @@ const std::string& GetUserPath(UserPath path, const std::string& new_path) { | |||
| 706 | paths.emplace(UserPath::SDMCDir, user_path + SDMC_DIR DIR_SEP); | 706 | paths.emplace(UserPath::SDMCDir, user_path + SDMC_DIR DIR_SEP); |
| 707 | paths.emplace(UserPath::NANDDir, user_path + NAND_DIR DIR_SEP); | 707 | paths.emplace(UserPath::NANDDir, user_path + NAND_DIR DIR_SEP); |
| 708 | paths.emplace(UserPath::SysDataDir, user_path + SYSDATA_DIR DIR_SEP); | 708 | paths.emplace(UserPath::SysDataDir, user_path + SYSDATA_DIR DIR_SEP); |
| 709 | paths.emplace(UserPath::KeysDir, user_path + KEYS_DIR DIR_SEP); | ||
| 709 | // TODO: Put the logs in a better location for each OS | 710 | // TODO: Put the logs in a better location for each OS |
| 710 | paths.emplace(UserPath::LogDir, user_path + LOG_DIR DIR_SEP); | 711 | paths.emplace(UserPath::LogDir, user_path + LOG_DIR DIR_SEP); |
| 711 | } | 712 | } |
diff --git a/src/common/file_util.h b/src/common/file_util.h index d530d86c9..28697d527 100644 --- a/src/common/file_util.h +++ b/src/common/file_util.h | |||
| @@ -23,6 +23,7 @@ namespace FileUtil { | |||
| 23 | enum class UserPath { | 23 | enum class UserPath { |
| 24 | CacheDir, | 24 | CacheDir, |
| 25 | ConfigDir, | 25 | ConfigDir, |
| 26 | KeysDir, | ||
| 26 | LogDir, | 27 | LogDir, |
| 27 | NANDDir, | 28 | NANDDir, |
| 28 | RootDir, | 29 | RootDir, |