summaryrefslogtreecommitdiff
path: root/src/common/fs
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/fs')
-rw-r--r--src/common/fs/fs_paths.h2
-rw-r--r--src/common/fs/path_util.cpp2
-rw-r--r--src/common/fs/path_util.h2
3 files changed, 6 insertions, 0 deletions
diff --git a/src/common/fs/fs_paths.h b/src/common/fs/fs_paths.h
index 1a3f6ab45..bcf447089 100644
--- a/src/common/fs/fs_paths.h
+++ b/src/common/fs/fs_paths.h
@@ -19,10 +19,12 @@
19#define LOAD_DIR "load" 19#define LOAD_DIR "load"
20#define LOG_DIR "log" 20#define LOG_DIR "log"
21#define NAND_DIR "nand" 21#define NAND_DIR "nand"
22#define PLAY_TIME_DIR "play_time"
22#define SCREENSHOTS_DIR "screenshots" 23#define SCREENSHOTS_DIR "screenshots"
23#define SDMC_DIR "sdmc" 24#define SDMC_DIR "sdmc"
24#define SHADER_DIR "shader" 25#define SHADER_DIR "shader"
25#define TAS_DIR "tas" 26#define TAS_DIR "tas"
27#define ICONS_DIR "icons"
26 28
27// yuzu-specific files 29// yuzu-specific files
28 30
diff --git a/src/common/fs/path_util.cpp b/src/common/fs/path_util.cpp
index fbac4d80c..0c4c88cde 100644
--- a/src/common/fs/path_util.cpp
+++ b/src/common/fs/path_util.cpp
@@ -125,10 +125,12 @@ public:
125 GenerateYuzuPath(YuzuPath::LoadDir, yuzu_path / LOAD_DIR); 125 GenerateYuzuPath(YuzuPath::LoadDir, yuzu_path / LOAD_DIR);
126 GenerateYuzuPath(YuzuPath::LogDir, yuzu_path / LOG_DIR); 126 GenerateYuzuPath(YuzuPath::LogDir, yuzu_path / LOG_DIR);
127 GenerateYuzuPath(YuzuPath::NANDDir, yuzu_path / NAND_DIR); 127 GenerateYuzuPath(YuzuPath::NANDDir, yuzu_path / NAND_DIR);
128 GenerateYuzuPath(YuzuPath::PlayTimeDir, yuzu_path / PLAY_TIME_DIR);
128 GenerateYuzuPath(YuzuPath::ScreenshotsDir, yuzu_path / SCREENSHOTS_DIR); 129 GenerateYuzuPath(YuzuPath::ScreenshotsDir, yuzu_path / SCREENSHOTS_DIR);
129 GenerateYuzuPath(YuzuPath::SDMCDir, yuzu_path / SDMC_DIR); 130 GenerateYuzuPath(YuzuPath::SDMCDir, yuzu_path / SDMC_DIR);
130 GenerateYuzuPath(YuzuPath::ShaderDir, yuzu_path / SHADER_DIR); 131 GenerateYuzuPath(YuzuPath::ShaderDir, yuzu_path / SHADER_DIR);
131 GenerateYuzuPath(YuzuPath::TASDir, yuzu_path / TAS_DIR); 132 GenerateYuzuPath(YuzuPath::TASDir, yuzu_path / TAS_DIR);
133 GenerateYuzuPath(YuzuPath::IconsDir, yuzu_path / ICONS_DIR);
132 } 134 }
133 135
134private: 136private:
diff --git a/src/common/fs/path_util.h b/src/common/fs/path_util.h
index 036e475aa..2874ea738 100644
--- a/src/common/fs/path_util.h
+++ b/src/common/fs/path_util.h
@@ -21,10 +21,12 @@ enum class YuzuPath {
21 LoadDir, // Where cheat/mod files are stored. 21 LoadDir, // Where cheat/mod files are stored.
22 LogDir, // Where log files are stored. 22 LogDir, // Where log files are stored.
23 NANDDir, // Where the emulated NAND is stored. 23 NANDDir, // Where the emulated NAND is stored.
24 PlayTimeDir, // Where play time data is stored.
24 ScreenshotsDir, // Where yuzu screenshots are stored. 25 ScreenshotsDir, // Where yuzu screenshots are stored.
25 SDMCDir, // Where the emulated SDMC is stored. 26 SDMCDir, // Where the emulated SDMC is stored.
26 ShaderDir, // Where shaders are stored. 27 ShaderDir, // Where shaders are stored.
27 TASDir, // Where TAS scripts are stored. 28 TASDir, // Where TAS scripts are stored.
29 IconsDir, // Where Icons for Windows shortcuts are stored.
28}; 30};
29 31
30/** 32/**