summaryrefslogtreecommitdiffstats
path: root/src/common/fs
diff options
context:
space:
mode:
authorMonsterDruide1 <5958456@gmail.com>2021-06-18 16:20:10 +0200
committerMonsterDruide1 <5958456@gmail.com>2021-09-18 23:22:11 +0200
commitf25d6ebc45dc02904ef3ca6ad8efea9a0853d194 (patch)
tree45ad353f9b1a76e05cee0d9abe4a9642eaa9b3d0 /src/common/fs
parentinput_common/tas: Base playback & recording system (diff)
downloadyuzu-f25d6ebc45dc02904ef3ca6ad8efea9a0853d194.tar
yuzu-f25d6ebc45dc02904ef3ca6ad8efea9a0853d194.tar.gz
yuzu-f25d6ebc45dc02904ef3ca6ad8efea9a0853d194.tar.bz2
yuzu-f25d6ebc45dc02904ef3ca6ad8efea9a0853d194.tar.lz
yuzu-f25d6ebc45dc02904ef3ca6ad8efea9a0853d194.tar.xz
yuzu-f25d6ebc45dc02904ef3ca6ad8efea9a0853d194.tar.zst
yuzu-f25d6ebc45dc02904ef3ca6ad8efea9a0853d194.zip
Diffstat (limited to 'src/common/fs')
-rw-r--r--src/common/fs/path_util.cpp2
-rw-r--r--src/common/fs/path_util.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/common/fs/path_util.cpp b/src/common/fs/path_util.cpp
index 6cdd14f13..5f76adedb 100644
--- a/src/common/fs/path_util.cpp
+++ b/src/common/fs/path_util.cpp
@@ -116,6 +116,8 @@ private:
GenerateYuzuPath(YuzuPath::ScreenshotsDir, yuzu_path / SCREENSHOTS_DIR);
GenerateYuzuPath(YuzuPath::SDMCDir, yuzu_path / SDMC_DIR);
GenerateYuzuPath(YuzuPath::ShaderDir, yuzu_path / SHADER_DIR);
+
+ GenerateYuzuPath(YuzuPath::TASFile, fs::path{""});
}
~PathManagerImpl() = default;
diff --git a/src/common/fs/path_util.h b/src/common/fs/path_util.h
index f956ac9a2..6079de4c6 100644
--- a/src/common/fs/path_util.h
+++ b/src/common/fs/path_util.h
@@ -23,6 +23,8 @@ enum class YuzuPath {
ScreenshotsDir, // Where yuzu screenshots are stored.
SDMCDir, // Where the emulated SDMC is stored.
ShaderDir, // Where shaders are stored.
+
+ TASFile, // Where the current script file is stored.
};
/**