summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FileUtil.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2021-07-21 02:36:43 -0400
committerGitHub <noreply@github.com>2021-07-21 02:36:43 -0400
commita1e806ed76e6746259a730a5db82052b53f084f1 (patch)
treee2246fc40dab5a0ae32bad834fbc96fe5533a8e5 /Source/Core/Common/FileUtil.cpp
parentb515786c8dd94aac73e59003d9c232bd319ae1bd (diff)
parentb8f0e97c025dc7a50c7c729185195b3577321987 (diff)
Merge pull request #9600 from Bonta0/mgba-pr
Full GBA Controllers Integration with mGBA
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
-rw-r--r--Source/Core/Common/FileUtil.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/Common/FileUtil.cpp b/Source/Core/Common/FileUtil.cpp
index f8814b8c02..96d72a36d7 100644
--- a/Source/Core/Common/FileUtil.cpp
+++ b/Source/Core/Common/FileUtil.cpp
@@ -977,6 +977,10 @@ static void RebuildUserDirectories(unsigned int dir_index)
s_user_paths[F_MEMORYWATCHERSOCKET_IDX] =
s_user_paths[D_MEMORYWATCHER_IDX] + MEMORYWATCHER_SOCKET;
+ s_user_paths[D_GBAUSER_IDX] = s_user_paths[D_USER_IDX] + GBA_USER_DIR DIR_SEP;
+ s_user_paths[D_GBASAVES_IDX] = s_user_paths[D_GBAUSER_IDX] + GBASAVES_DIR DIR_SEP;
+ s_user_paths[F_GBABIOS_IDX] = s_user_paths[D_GBAUSER_IDX] + GBA_BIOS;
+
// 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);