Common/FileUtil: Ensure consistency for custom user paths.

This commit is contained in:
Admiral H. Curtiss
2021-11-22 03:00:15 +01:00
parent a29d7625dd
commit 3e1511ce98
2 changed files with 25 additions and 4 deletions

View File

@ -62,7 +62,8 @@ enum
D_DYNAMICINPUT_IDX,
D_GBAUSER_IDX,
D_GBASAVES_IDX,
F_DOLPHINCONFIG_IDX,
FIRST_FILE_USER_PATH_IDX,
F_DOLPHINCONFIG_IDX = FIRST_FILE_USER_PATH_IDX,
F_GCPADCONFIG_IDX,
F_WIIPADCONFIG_IDX,
F_GCKEYBOARDCONFIG_IDX,
@ -208,7 +209,7 @@ const std::string& GetUserPath(unsigned int dir_index);
// Sets a user directory path
// Rebuilds internal directory structure to compensate for the new directory
void SetUserPath(unsigned int dir_index, const std::string& path);
void SetUserPath(unsigned int dir_index, std::string path);
// probably doesn't belong here
std::string GetThemeDir(const std::string& theme_name);