summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FileUtil.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2019-05-10 14:55:27 +0200
committerGitHub <noreply@github.com>2019-05-10 14:55:27 +0200
commit123bbbca2c3382165cf58288e4d65d0974a9c0db (patch)
treea9041f83057e75f0e5011e9c7395bc2d7fadc9e4 /Source/Core/Common/FileUtil.cpp
parentd60b0c6b3732ef567a74f168020a25f5c87cd69a (diff)
parent239af3cdf9117234f2d5273fda0f12f49e87615a (diff)
Merge pull request #8073 from vladfi1/re-frame-mw
Bring back MemoryWatcher, but without CoreTiming
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
-rw-r--r--Source/Core/Common/FileUtil.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/Common/FileUtil.cpp b/Source/Core/Common/FileUtil.cpp
index 72d441906e..7030c9dc25 100644
--- a/Source/Core/Common/FileUtil.cpp
+++ b/Source/Core/Common/FileUtil.cpp
@@ -801,6 +801,12 @@ static void RebuildUserDirectories(unsigned int dir_index)
s_user_paths[F_GCSRAM_IDX] = s_user_paths[D_GCUSER_IDX] + GC_SRAM;
s_user_paths[F_WIISDCARD_IDX] = s_user_paths[D_WIIROOT_IDX] + DIR_SEP WII_SDCARD;
+ s_user_paths[D_MEMORYWATCHER_IDX] = s_user_paths[D_USER_IDX] + MEMORYWATCHER_DIR DIR_SEP;
+ s_user_paths[F_MEMORYWATCHERLOCATIONS_IDX] =
+ s_user_paths[D_MEMORYWATCHER_IDX] + MEMORYWATCHER_LOCATIONS;
+ s_user_paths[F_MEMORYWATCHERSOCKET_IDX] =
+ s_user_paths[D_MEMORYWATCHER_IDX] + MEMORYWATCHER_SOCKET;
+
// The shader cache has moved to the cache directory, so remove the old one.
// TODO: remove that someday.
File::DeleteDirRecursively(s_user_paths[D_USER_IDX] + SHADERCACHE_LEGACY_DIR DIR_SEP);