summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-09-23 04:00:47 +0200
committerbunnei <bunneidev@gmail.com>2014-09-23 04:00:47 +0200
commit07af9a587cb1a0e30ae050315cdbd8246e179b1c (patch)
tree07e58711357cec5f368c4544c535b47c7751c678 /src/common
parentMerge pull request #70 from linkmauve/master (diff)
parentUse the citra user path for the sdmc directory (diff)
downloadyuzu-07af9a587cb1a0e30ae050315cdbd8246e179b1c.tar
yuzu-07af9a587cb1a0e30ae050315cdbd8246e179b1c.tar.gz
yuzu-07af9a587cb1a0e30ae050315cdbd8246e179b1c.tar.bz2
yuzu-07af9a587cb1a0e30ae050315cdbd8246e179b1c.tar.lz
yuzu-07af9a587cb1a0e30ae050315cdbd8246e179b1c.tar.xz
yuzu-07af9a587cb1a0e30ae050315cdbd8246e179b1c.tar.zst
yuzu-07af9a587cb1a0e30ae050315cdbd8246e179b1c.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/common_paths.h1
-rw-r--r--src/common/file_util.cpp2
-rw-r--r--src/common/file_util.h1
3 files changed, 4 insertions, 0 deletions
diff --git a/src/common/common_paths.h b/src/common/common_paths.h
index a36de9227..7cd5b1f35 100644
--- a/src/common/common_paths.h
+++ b/src/common/common_paths.h
@@ -52,6 +52,7 @@
#define GAMECONFIG_DIR "game_config"
#define MAPS_DIR "maps"
#define CACHE_DIR "cache"
+#define SDMC_DIR "sdmc"
#define SHADERCACHE_DIR "shader_cache"
#define STATESAVES_DIR "state_saves"
#define SCREENSHOTS_DIR "screenShots"
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp
index ecfccbd66..40cd32d96 100644
--- a/src/common/file_util.cpp
+++ b/src/common/file_util.cpp
@@ -672,6 +672,7 @@ const std::string& GetUserPath(const unsigned int DirIDX, const std::string &new
paths[D_GAMECONFIG_IDX] = paths[D_USER_IDX] + GAMECONFIG_DIR DIR_SEP;
paths[D_MAPS_IDX] = paths[D_USER_IDX] + MAPS_DIR DIR_SEP;
paths[D_CACHE_IDX] = paths[D_USER_IDX] + CACHE_DIR DIR_SEP;
+ paths[D_SDMC_IDX] = paths[D_USER_IDX] + SDMC_DIR DIR_SEP;
paths[D_SHADERCACHE_IDX] = paths[D_USER_IDX] + SHADERCACHE_DIR DIR_SEP;
paths[D_SHADERS_IDX] = paths[D_USER_IDX] + SHADERS_DIR DIR_SEP;
paths[D_STATESAVES_IDX] = paths[D_USER_IDX] + STATESAVES_DIR DIR_SEP;
@@ -712,6 +713,7 @@ const std::string& GetUserPath(const unsigned int DirIDX, const std::string &new
paths[D_GAMECONFIG_IDX] = paths[D_USER_IDX] + GAMECONFIG_DIR DIR_SEP;
paths[D_MAPS_IDX] = paths[D_USER_IDX] + MAPS_DIR DIR_SEP;
paths[D_CACHE_IDX] = paths[D_USER_IDX] + CACHE_DIR DIR_SEP;
+ paths[D_SDMC_IDX] = paths[D_USER_IDX] + SDMC_DIR DIR_SEP;
paths[D_SHADERCACHE_IDX] = paths[D_USER_IDX] + SHADERCACHE_DIR DIR_SEP;
paths[D_SHADERS_IDX] = paths[D_USER_IDX] + SHADERS_DIR DIR_SEP;
paths[D_STATESAVES_IDX] = paths[D_USER_IDX] + STATESAVES_DIR DIR_SEP;
diff --git a/src/common/file_util.h b/src/common/file_util.h
index 897cbd77e..cddcd1951 100644
--- a/src/common/file_util.h
+++ b/src/common/file_util.h
@@ -25,6 +25,7 @@ enum {
D_SHADERS_IDX,
D_STATESAVES_IDX,
D_SCREENSHOTS_IDX,
+ D_SDMC_IDX,
D_HIRESTEXTURES_IDX,
D_DUMP_IDX,
D_DUMPFRAMES_IDX,