summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2023-10-07 17:26:04 +0200
committerLiam <byteslice@airmail.cc>2023-10-08 03:24:11 +0200
commit9ef9ca0927be1a5ee697f23ccf9f37b74ed12c7c (patch)
tree53e7c35b0fc4ad3718019c69d1e82236413cd9e9 /src/common
parentMerge pull request #11657 from liamwhite/new-codespell (diff)
downloadyuzu-9ef9ca0927be1a5ee697f23ccf9f37b74ed12c7c.tar
yuzu-9ef9ca0927be1a5ee697f23ccf9f37b74ed12c7c.tar.gz
yuzu-9ef9ca0927be1a5ee697f23ccf9f37b74ed12c7c.tar.bz2
yuzu-9ef9ca0927be1a5ee697f23ccf9f37b74ed12c7c.tar.lz
yuzu-9ef9ca0927be1a5ee697f23ccf9f37b74ed12c7c.tar.xz
yuzu-9ef9ca0927be1a5ee697f23ccf9f37b74ed12c7c.tar.zst
yuzu-9ef9ca0927be1a5ee697f23ccf9f37b74ed12c7c.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 61bac9eba..c54ce7654 100644
--- a/src/common/fs/fs_paths.h
+++ b/src/common/fs/fs_paths.h
@@ -22,6 +22,7 @@
#define SDMC_DIR "sdmc"
#define SHADER_DIR "shader"
#define TAS_DIR "tas"
+#define ICONS_DIR "icons"
// yuzu-specific files
diff --git a/src/common/fs/path_util.cpp b/src/common/fs/path_util.cpp
index dce219fcf..461c170f7 100644
--- a/src/common/fs/path_util.cpp
+++ b/src/common/fs/path_util.cpp
@@ -128,6 +128,7 @@ public:
GenerateYuzuPath(YuzuPath::SDMCDir, yuzu_path / SDMC_DIR);
GenerateYuzuPath(YuzuPath::ShaderDir, yuzu_path / SHADER_DIR);
GenerateYuzuPath(YuzuPath::TASDir, yuzu_path / TAS_DIR);
+ GenerateYuzuPath(YuzuPath::IconsDir, yuzu_path / ICONS_DIR);
}
private:
diff --git a/src/common/fs/path_util.h b/src/common/fs/path_util.h
index ba28964d0..61593bdf7 100644
--- a/src/common/fs/path_util.h
+++ b/src/common/fs/path_util.h
@@ -24,6 +24,7 @@ enum class YuzuPath {
SDMCDir, // Where the emulated SDMC is stored.
ShaderDir, // Where shaders are stored.
TASDir, // Where TAS scripts are stored.
+ IconsDir, // Where Icons for Windows shortcuts are stored.
};
/**