diff --git a/src/common/common_paths.h b/src/common/common_paths.h index c5d6ac67b..b302c2b25 100644 --- a/src/common/common_paths.h +++ b/src/common/common_paths.h @@ -44,6 +44,7 @@ #define CHEATS_DIR "cheats" #define DLL_DIR "external_dlls" #define SHADER_DIR "shaders" +#define DUMP_DIR "dump" // Filenames // Files in the directory returned by GetUserPath(UserPath::LogDir) diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp index 0e9a9637c..1f7360fa6 100644 --- a/src/common/file_util.cpp +++ b/src/common/file_util.cpp @@ -712,6 +712,7 @@ void SetUserPath(const std::string& path) { g_paths.emplace(UserPath::CheatsDir, user_path + CHEATS_DIR DIR_SEP); g_paths.emplace(UserPath::DLLDir, user_path + DLL_DIR DIR_SEP); g_paths.emplace(UserPath::ShaderDir, user_path + SHADER_DIR DIR_SEP); + g_paths.emplace(UserPath::DumpDir, user_path + DUMP_DIR DIR_SEP); } const std::string& GetUserPath(UserPath path) { diff --git a/src/common/file_util.h b/src/common/file_util.h index 28e6a42d4..62c9f36a9 100644 --- a/src/common/file_util.h +++ b/src/common/file_util.h @@ -26,6 +26,7 @@ enum class UserPath { CheatsDir, ConfigDir, DLLDir, + DumpDir, LogDir, NANDDir, RootDir,