summaryrefslogtreecommitdiffstats
path: root/src/common/fs
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-10-04 19:11:05 +0200
committerLiam <byteslice@airmail.cc>2023-10-08 17:35:53 +0200
commitd3997bad9b84579938d8cdb44b1d17cfab7bbcce (patch)
tree4a9128e8ba93d3963ce37b65efd2a940776cae3c /src/common/fs
parentMerge pull request #11657 from liamwhite/new-codespell (diff)
downloadyuzu-d3997bad9b84579938d8cdb44b1d17cfab7bbcce.tar
yuzu-d3997bad9b84579938d8cdb44b1d17cfab7bbcce.tar.gz
yuzu-d3997bad9b84579938d8cdb44b1d17cfab7bbcce.tar.bz2
yuzu-d3997bad9b84579938d8cdb44b1d17cfab7bbcce.tar.lz
yuzu-d3997bad9b84579938d8cdb44b1d17cfab7bbcce.tar.xz
yuzu-d3997bad9b84579938d8cdb44b1d17cfab7bbcce.tar.zst
yuzu-d3997bad9b84579938d8cdb44b1d17cfab7bbcce.zip
Diffstat (limited to '')
-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..1a3f6ab45 100644
--- a/src/common/fs/fs_paths.h
+++ b/src/common/fs/fs_paths.h
@@ -13,6 +13,7 @@
#define AMIIBO_DIR "amiibo"
#define CACHE_DIR "cache"
#define CONFIG_DIR "config"
+#define CRASH_DUMPS_DIR "crash_dumps"
#define DUMP_DIR "dump"
#define KEYS_DIR "keys"
#define LOAD_DIR "load"
diff --git a/src/common/fs/path_util.cpp b/src/common/fs/path_util.cpp
index dce219fcf..fbac4d80c 100644
--- a/src/common/fs/path_util.cpp
+++ b/src/common/fs/path_util.cpp
@@ -119,6 +119,7 @@ public:
GenerateYuzuPath(YuzuPath::AmiiboDir, yuzu_path / AMIIBO_DIR);
GenerateYuzuPath(YuzuPath::CacheDir, yuzu_path_cache);
GenerateYuzuPath(YuzuPath::ConfigDir, yuzu_path_config);
+ GenerateYuzuPath(YuzuPath::CrashDumpsDir, yuzu_path / CRASH_DUMPS_DIR);
GenerateYuzuPath(YuzuPath::DumpDir, yuzu_path / DUMP_DIR);
GenerateYuzuPath(YuzuPath::KeysDir, yuzu_path / KEYS_DIR);
GenerateYuzuPath(YuzuPath::LoadDir, yuzu_path / LOAD_DIR);
diff --git a/src/common/fs/path_util.h b/src/common/fs/path_util.h
index ba28964d0..036e475aa 100644
--- a/src/common/fs/path_util.h
+++ b/src/common/fs/path_util.h
@@ -15,6 +15,7 @@ enum class YuzuPath {
AmiiboDir, // Where Amiibo backups are stored.
CacheDir, // Where cached filesystem data is stored.
ConfigDir, // Where config files are stored.
+ CrashDumpsDir, // Where crash dumps are stored.
DumpDir, // Where dumped data is stored.
KeysDir, // Where key files are stored.
LoadDir, // Where cheat/mod files are stored.