summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-06-09 03:54:12 +0200
committerGitHub <noreply@github.com>2023-06-09 03:54:12 +0200
commitb3e2c9f9f147f7dbb4b2ae0fdc91ddee70b4fdb4 (patch)
tree8fbde57147f6a67c307381e60009d6f460c5a460 /src/common
parentMerge pull request #10666 from liamwhite/my-framerate-is-fine (diff)
parentservice: nfc: Add backup support (diff)
downloadyuzu-b3e2c9f9f147f7dbb4b2ae0fdc91ddee70b4fdb4.tar
yuzu-b3e2c9f9f147f7dbb4b2ae0fdc91ddee70b4fdb4.tar.gz
yuzu-b3e2c9f9f147f7dbb4b2ae0fdc91ddee70b4fdb4.tar.bz2
yuzu-b3e2c9f9f147f7dbb4b2ae0fdc91ddee70b4fdb4.tar.lz
yuzu-b3e2c9f9f147f7dbb4b2ae0fdc91ddee70b4fdb4.tar.xz
yuzu-b3e2c9f9f147f7dbb4b2ae0fdc91ddee70b4fdb4.tar.zst
yuzu-b3e2c9f9f147f7dbb4b2ae0fdc91ddee70b4fdb4.zip
Diffstat (limited to 'src/common')
-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 c77c112f1..61bac9eba 100644
--- a/src/common/fs/fs_paths.h
+++ b/src/common/fs/fs_paths.h
@@ -10,6 +10,7 @@
// Sub-directories contained within a yuzu data directory
+#define AMIIBO_DIR "amiibo"
#define CACHE_DIR "cache"
#define CONFIG_DIR "config"
#define DUMP_DIR "dump"
diff --git a/src/common/fs/path_util.cpp b/src/common/fs/path_util.cpp
index e026a13d9..d71cfacc6 100644
--- a/src/common/fs/path_util.cpp
+++ b/src/common/fs/path_util.cpp
@@ -114,6 +114,7 @@ public:
#endif
GenerateYuzuPath(YuzuPath::YuzuDir, yuzu_path);
+ GenerateYuzuPath(YuzuPath::AmiiboDir, yuzu_path / AMIIBO_DIR);
GenerateYuzuPath(YuzuPath::CacheDir, yuzu_path_cache);
GenerateYuzuPath(YuzuPath::ConfigDir, yuzu_path_config);
GenerateYuzuPath(YuzuPath::DumpDir, yuzu_path / DUMP_DIR);
diff --git a/src/common/fs/path_util.h b/src/common/fs/path_util.h
index 7cfe85b70..ba28964d0 100644
--- a/src/common/fs/path_util.h
+++ b/src/common/fs/path_util.h
@@ -12,6 +12,7 @@ namespace Common::FS {
enum class YuzuPath {
YuzuDir, // Where yuzu stores its data.
+ AmiiboDir, // Where Amiibo backups are stored.
CacheDir, // Where cached filesystem data is stored.
ConfigDir, // Where config files are stored.
DumpDir, // Where dumped data is stored.