diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2017-01-03 03:31:45 +0100 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2017-01-14 17:06:40 +0100 |
| commit | 45d27f7fc7f5b63dd5caaac65eac8d645849d0f6 (patch) | |
| tree | 863ac4503781dbbae5eb0d23b87a1307d3c88272 /Source/Core | |
| parent | a8f7012cf7b332807d9881be01a9332a76723e74 (diff) | |
CommonPaths: Add D_WFSROOT_IDX.
Defaults to $USERDIR/WFS. Used to store the contents normally stored on
WFS mass storage devices.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Common/CommonPaths.h | 1 | ||||
| -rw-r--r-- | Source/Core/Common/FileUtil.cpp | 1 | ||||
| -rw-r--r-- | Source/Core/Common/FileUtil.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/Common/CommonPaths.h b/Source/Core/Common/CommonPaths.h index f269968405..046e3bfd90 100644 --- a/Source/Core/Common/CommonPaths.h +++ b/Source/Core/Common/CommonPaths.h @@ -75,6 +75,7 @@ #define ANAGLYPH_DIR "Anaglyph" #define PIPES_DIR "Pipes" #define MEMORYWATCHER_DIR "MemoryWatcher" +#define WFSROOT_DIR "WFS" // This one is only used to remove it if it was present #define SHADERCACHE_LEGACY_DIR "ShaderCache" diff --git a/Source/Core/Common/FileUtil.cpp b/Source/Core/Common/FileUtil.cpp index 59c7412072..652a2e466c 100644 --- a/Source/Core/Common/FileUtil.cpp +++ b/Source/Core/Common/FileUtil.cpp @@ -780,6 +780,7 @@ static void RebuildUserDirectories(unsigned int dir_index) s_user_paths[D_MAILLOGS_IDX] = s_user_paths[D_LOGS_IDX] + MAIL_LOGS_DIR DIR_SEP; s_user_paths[D_THEMES_IDX] = s_user_paths[D_USER_IDX] + THEMES_DIR DIR_SEP; s_user_paths[D_PIPES_IDX] = s_user_paths[D_USER_IDX] + PIPES_DIR DIR_SEP; + s_user_paths[D_WFSROOT_IDX] = s_user_paths[D_USER_IDX] + WFSROOT_DIR DIR_SEP; s_user_paths[F_DOLPHINCONFIG_IDX] = s_user_paths[D_CONFIG_IDX] + DOLPHIN_CONFIG; s_user_paths[F_DEBUGGERCONFIG_IDX] = s_user_paths[D_CONFIG_IDX] + DEBUGGER_CONFIG; s_user_paths[F_LOGGERCONFIG_IDX] = s_user_paths[D_CONFIG_IDX] + LOGGER_CONFIG; diff --git a/Source/Core/Common/FileUtil.h b/Source/Core/Common/FileUtil.h index df4d6aacd6..bcd28fd968 100644 --- a/Source/Core/Common/FileUtil.h +++ b/Source/Core/Common/FileUtil.h @@ -46,6 +46,7 @@ enum D_THEMES_IDX, D_PIPES_IDX, D_MEMORYWATCHER_IDX, + D_WFSROOT_IDX, F_DOLPHINCONFIG_IDX, F_DEBUGGERCONFIG_IDX, F_LOGGERCONFIG_IDX, |
