mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Core: add GraphicsMod directory
This commit is contained in:
parent
4fbbd85ef4
commit
3857e1fa66
@ -72,6 +72,7 @@
|
|||||||
#define BACKUP_DIR "Backup"
|
#define BACKUP_DIR "Backup"
|
||||||
#define RESOURCEPACK_DIR "ResourcePacks"
|
#define RESOURCEPACK_DIR "ResourcePacks"
|
||||||
#define DYNAMICINPUT_DIR "DynamicInputTextures"
|
#define DYNAMICINPUT_DIR "DynamicInputTextures"
|
||||||
|
#define GRAPHICSMOD_DIR "GraphicMods"
|
||||||
|
|
||||||
// This one is only used to remove it if it was present
|
// This one is only used to remove it if it was present
|
||||||
#define SHADERCACHE_LEGACY_DIR "ShaderCache"
|
#define SHADERCACHE_LEGACY_DIR "ShaderCache"
|
||||||
@ -137,3 +138,6 @@
|
|||||||
// Subdirs in Sys
|
// Subdirs in Sys
|
||||||
#define GC_SYS_DIR "GC"
|
#define GC_SYS_DIR "GC"
|
||||||
#define WII_SYS_DIR "Wii"
|
#define WII_SYS_DIR "Wii"
|
||||||
|
|
||||||
|
// Subdirs in Config
|
||||||
|
#define GRAPHICSMOD_CONFIG_DIR "GraphicMods"
|
||||||
|
@ -967,6 +967,7 @@ static void RebuildUserDirectories(unsigned int dir_index)
|
|||||||
s_user_paths[D_BACKUP_IDX] = s_user_paths[D_USER_IDX] + BACKUP_DIR DIR_SEP;
|
s_user_paths[D_BACKUP_IDX] = s_user_paths[D_USER_IDX] + BACKUP_DIR DIR_SEP;
|
||||||
s_user_paths[D_RESOURCEPACK_IDX] = s_user_paths[D_USER_IDX] + RESOURCEPACK_DIR DIR_SEP;
|
s_user_paths[D_RESOURCEPACK_IDX] = s_user_paths[D_USER_IDX] + RESOURCEPACK_DIR DIR_SEP;
|
||||||
s_user_paths[D_DYNAMICINPUT_IDX] = s_user_paths[D_LOAD_IDX] + DYNAMICINPUT_DIR DIR_SEP;
|
s_user_paths[D_DYNAMICINPUT_IDX] = s_user_paths[D_LOAD_IDX] + DYNAMICINPUT_DIR DIR_SEP;
|
||||||
|
s_user_paths[D_GRAPHICSMOD_IDX] = s_user_paths[D_LOAD_IDX] + GRAPHICSMOD_DIR DIR_SEP;
|
||||||
s_user_paths[F_DOLPHINCONFIG_IDX] = s_user_paths[D_CONFIG_IDX] + DOLPHIN_CONFIG;
|
s_user_paths[F_DOLPHINCONFIG_IDX] = s_user_paths[D_CONFIG_IDX] + DOLPHIN_CONFIG;
|
||||||
s_user_paths[F_GCPADCONFIG_IDX] = s_user_paths[D_CONFIG_IDX] + GCPAD_CONFIG;
|
s_user_paths[F_GCPADCONFIG_IDX] = s_user_paths[D_CONFIG_IDX] + GCPAD_CONFIG;
|
||||||
s_user_paths[F_WIIPADCONFIG_IDX] = s_user_paths[D_CONFIG_IDX] + WIIPAD_CONFIG;
|
s_user_paths[F_WIIPADCONFIG_IDX] = s_user_paths[D_CONFIG_IDX] + WIIPAD_CONFIG;
|
||||||
@ -1045,6 +1046,7 @@ static void RebuildUserDirectories(unsigned int dir_index)
|
|||||||
s_user_paths[D_HIRESTEXTURES_IDX] = s_user_paths[D_LOAD_IDX] + HIRES_TEXTURES_DIR DIR_SEP;
|
s_user_paths[D_HIRESTEXTURES_IDX] = s_user_paths[D_LOAD_IDX] + HIRES_TEXTURES_DIR DIR_SEP;
|
||||||
s_user_paths[D_RIIVOLUTION_IDX] = s_user_paths[D_LOAD_IDX] + RIIVOLUTION_DIR DIR_SEP;
|
s_user_paths[D_RIIVOLUTION_IDX] = s_user_paths[D_LOAD_IDX] + RIIVOLUTION_DIR DIR_SEP;
|
||||||
s_user_paths[D_DYNAMICINPUT_IDX] = s_user_paths[D_LOAD_IDX] + DYNAMICINPUT_DIR DIR_SEP;
|
s_user_paths[D_DYNAMICINPUT_IDX] = s_user_paths[D_LOAD_IDX] + DYNAMICINPUT_DIR DIR_SEP;
|
||||||
|
s_user_paths[D_GRAPHICSMOD_IDX] = s_user_paths[D_LOAD_IDX] + GRAPHICSMOD_DIR DIR_SEP;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -60,6 +60,7 @@ enum
|
|||||||
D_BACKUP_IDX,
|
D_BACKUP_IDX,
|
||||||
D_RESOURCEPACK_IDX,
|
D_RESOURCEPACK_IDX,
|
||||||
D_DYNAMICINPUT_IDX,
|
D_DYNAMICINPUT_IDX,
|
||||||
|
D_GRAPHICSMOD_IDX,
|
||||||
D_GBAUSER_IDX,
|
D_GBAUSER_IDX,
|
||||||
D_GBASAVES_IDX,
|
D_GBASAVES_IDX,
|
||||||
FIRST_FILE_USER_PATH_IDX,
|
FIRST_FILE_USER_PATH_IDX,
|
||||||
|
@ -69,6 +69,7 @@ static void CreateLoadPath(std::string path)
|
|||||||
File::SetUserPath(D_LOAD_IDX, std::move(path));
|
File::SetUserPath(D_LOAD_IDX, std::move(path));
|
||||||
File::CreateFullPath(File::GetUserPath(D_HIRESTEXTURES_IDX));
|
File::CreateFullPath(File::GetUserPath(D_HIRESTEXTURES_IDX));
|
||||||
File::CreateFullPath(File::GetUserPath(D_RIIVOLUTION_IDX));
|
File::CreateFullPath(File::GetUserPath(D_RIIVOLUTION_IDX));
|
||||||
|
File::CreateFullPath(File::GetUserPath(D_GRAPHICSMOD_IDX));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void CreateResourcePackPath(std::string path)
|
static void CreateResourcePackPath(std::string path)
|
||||||
@ -188,6 +189,7 @@ void CreateDirectories()
|
|||||||
File::CreateFullPath(File::GetUserPath(D_CACHE_IDX));
|
File::CreateFullPath(File::GetUserPath(D_CACHE_IDX));
|
||||||
File::CreateFullPath(File::GetUserPath(D_COVERCACHE_IDX));
|
File::CreateFullPath(File::GetUserPath(D_COVERCACHE_IDX));
|
||||||
File::CreateFullPath(File::GetUserPath(D_CONFIG_IDX));
|
File::CreateFullPath(File::GetUserPath(D_CONFIG_IDX));
|
||||||
|
File::CreateFullPath(File::GetUserPath(D_CONFIG_IDX) + GRAPHICSMOD_CONFIG_DIR DIR_SEP);
|
||||||
File::CreateFullPath(File::GetUserPath(D_DUMPDSP_IDX));
|
File::CreateFullPath(File::GetUserPath(D_DUMPDSP_IDX));
|
||||||
File::CreateFullPath(File::GetUserPath(D_DUMPSSL_IDX));
|
File::CreateFullPath(File::GetUserPath(D_DUMPSSL_IDX));
|
||||||
File::CreateFullPath(File::GetUserPath(D_DUMPTEXTURES_IDX));
|
File::CreateFullPath(File::GetUserPath(D_DUMPTEXTURES_IDX));
|
||||||
@ -197,6 +199,7 @@ void CreateDirectories()
|
|||||||
File::CreateFullPath(File::GetUserPath(D_GCUSER_IDX) + EUR_DIR DIR_SEP);
|
File::CreateFullPath(File::GetUserPath(D_GCUSER_IDX) + EUR_DIR DIR_SEP);
|
||||||
File::CreateFullPath(File::GetUserPath(D_GCUSER_IDX) + JAP_DIR DIR_SEP);
|
File::CreateFullPath(File::GetUserPath(D_GCUSER_IDX) + JAP_DIR DIR_SEP);
|
||||||
File::CreateFullPath(File::GetUserPath(D_HIRESTEXTURES_IDX));
|
File::CreateFullPath(File::GetUserPath(D_HIRESTEXTURES_IDX));
|
||||||
|
File::CreateFullPath(File::GetUserPath(D_GRAPHICSMOD_IDX));
|
||||||
File::CreateFullPath(File::GetUserPath(D_MAILLOGS_IDX));
|
File::CreateFullPath(File::GetUserPath(D_MAILLOGS_IDX));
|
||||||
File::CreateFullPath(File::GetUserPath(D_MAPS_IDX));
|
File::CreateFullPath(File::GetUserPath(D_MAPS_IDX));
|
||||||
File::CreateFullPath(File::GetUserPath(D_SCREENSHOTS_IDX));
|
File::CreateFullPath(File::GetUserPath(D_SCREENSHOTS_IDX));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user