summaryrefslogtreecommitdiff
path: root/src/common/fs
diff options
context:
space:
mode:
authorGravatar Mario2023-08-26 21:19:00 -0400
committerGravatar Liam2023-08-26 22:20:19 -0400
commit5464423667dedc0f09d48f85fc7871a3e56127a4 (patch)
treea981bb0c3f41050a476e791f4440bc4eae9e1ebf /src/common/fs
parentMerge pull request #11356 from lat9nq/console-mode-pg (diff)
downloadyuzu-5464423667dedc0f09d48f85fc7871a3e56127a4.tar.gz
yuzu-5464423667dedc0f09d48f85fc7871a3e56127a4.tar.xz
yuzu-5464423667dedc0f09d48f85fc7871a3e56127a4.zip
yuzu-qt: Track play time
Diffstat (limited to 'src/common/fs')
-rw-r--r--src/common/fs/fs_paths.h1
-rw-r--r--src/common/fs/path_util.cpp1
-rw-r--r--src/common/fs/path_util.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/common/fs/fs_paths.h b/src/common/fs/fs_paths.h
index 61bac9eba..59d66f71e 100644
--- a/src/common/fs/fs_paths.h
+++ b/src/common/fs/fs_paths.h
@@ -18,6 +18,7 @@
18#define LOAD_DIR "load" 18#define LOAD_DIR "load"
19#define LOG_DIR "log" 19#define LOG_DIR "log"
20#define NAND_DIR "nand" 20#define NAND_DIR "nand"
21#define PLAY_TIME_DIR "play_time"
21#define SCREENSHOTS_DIR "screenshots" 22#define SCREENSHOTS_DIR "screenshots"
22#define SDMC_DIR "sdmc" 23#define SDMC_DIR "sdmc"
23#define SHADER_DIR "shader" 24#define SHADER_DIR "shader"
diff --git a/src/common/fs/path_util.cpp b/src/common/fs/path_util.cpp
index d71cfacc6..3bbe9ff87 100644
--- a/src/common/fs/path_util.cpp
+++ b/src/common/fs/path_util.cpp
@@ -122,6 +122,7 @@ public:
122 GenerateYuzuPath(YuzuPath::LoadDir, yuzu_path / LOAD_DIR); 122 GenerateYuzuPath(YuzuPath::LoadDir, yuzu_path / LOAD_DIR);
123 GenerateYuzuPath(YuzuPath::LogDir, yuzu_path / LOG_DIR); 123 GenerateYuzuPath(YuzuPath::LogDir, yuzu_path / LOG_DIR);
124 GenerateYuzuPath(YuzuPath::NANDDir, yuzu_path / NAND_DIR); 124 GenerateYuzuPath(YuzuPath::NANDDir, yuzu_path / NAND_DIR);
125 GenerateYuzuPath(YuzuPath::PlayTimeDir, yuzu_path / PLAY_TIME_DIR);
125 GenerateYuzuPath(YuzuPath::ScreenshotsDir, yuzu_path / SCREENSHOTS_DIR); 126 GenerateYuzuPath(YuzuPath::ScreenshotsDir, yuzu_path / SCREENSHOTS_DIR);
126 GenerateYuzuPath(YuzuPath::SDMCDir, yuzu_path / SDMC_DIR); 127 GenerateYuzuPath(YuzuPath::SDMCDir, yuzu_path / SDMC_DIR);
127 GenerateYuzuPath(YuzuPath::ShaderDir, yuzu_path / SHADER_DIR); 128 GenerateYuzuPath(YuzuPath::ShaderDir, yuzu_path / SHADER_DIR);
diff --git a/src/common/fs/path_util.h b/src/common/fs/path_util.h
index ba28964d0..289974e32 100644
--- a/src/common/fs/path_util.h
+++ b/src/common/fs/path_util.h
@@ -20,6 +20,7 @@ enum class YuzuPath {
20 LoadDir, // Where cheat/mod files are stored. 20 LoadDir, // Where cheat/mod files are stored.
21 LogDir, // Where log files are stored. 21 LogDir, // Where log files are stored.
22 NANDDir, // Where the emulated NAND is stored. 22 NANDDir, // Where the emulated NAND is stored.
23 PlayTimeDir, // Where play time data is stored.
23 ScreenshotsDir, // Where yuzu screenshots are stored. 24 ScreenshotsDir, // Where yuzu screenshots are stored.
24 SDMCDir, // Where the emulated SDMC is stored. 25 SDMCDir, // Where the emulated SDMC is stored.
25 ShaderDir, // Where shaders are stored. 26 ShaderDir, // Where shaders are stored.