add dump dir to user paths
This commit is contained in:
parent
e0d63bd21b
commit
94b3c63bf9
3 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,7 @@
|
||||||
#define CHEATS_DIR "cheats"
|
#define CHEATS_DIR "cheats"
|
||||||
#define DLL_DIR "external_dlls"
|
#define DLL_DIR "external_dlls"
|
||||||
#define SHADER_DIR "shaders"
|
#define SHADER_DIR "shaders"
|
||||||
|
#define DUMP_DIR "dump"
|
||||||
|
|
||||||
// Filenames
|
// Filenames
|
||||||
// Files in the directory returned by GetUserPath(UserPath::LogDir)
|
// Files in the directory returned by GetUserPath(UserPath::LogDir)
|
||||||
|
|
|
@ -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::CheatsDir, user_path + CHEATS_DIR DIR_SEP);
|
||||||
g_paths.emplace(UserPath::DLLDir, user_path + DLL_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::ShaderDir, user_path + SHADER_DIR DIR_SEP);
|
||||||
|
g_paths.emplace(UserPath::DumpDir, user_path + DUMP_DIR DIR_SEP);
|
||||||
}
|
}
|
||||||
|
|
||||||
const std::string& GetUserPath(UserPath path) {
|
const std::string& GetUserPath(UserPath path) {
|
||||||
|
|
|
@ -26,6 +26,7 @@ enum class UserPath {
|
||||||
CheatsDir,
|
CheatsDir,
|
||||||
ConfigDir,
|
ConfigDir,
|
||||||
DLLDir,
|
DLLDir,
|
||||||
|
DumpDir,
|
||||||
LogDir,
|
LogDir,
|
||||||
NANDDir,
|
NANDDir,
|
||||||
RootDir,
|
RootDir,
|
||||||
|
|
Loading…
Reference in a new issue