summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-10-08 23:11:52 +0200
committerGitHub <noreply@github.com>2023-10-08 23:11:52 +0200
commitc0d152affa3e1c118247a2cb36c8a26dee9d6372 (patch)
tree4eba3e56e85575c4498567f97627b93a8b199ac2 /src/common
parentMerge pull request #10519 from mdmrk/master (diff)
parentyuzu: Add desktop shortcut support for Windows (diff)
downloadyuzu-c0d152affa3e1c118247a2cb36c8a26dee9d6372.tar
yuzu-c0d152affa3e1c118247a2cb36c8a26dee9d6372.tar.gz
yuzu-c0d152affa3e1c118247a2cb36c8a26dee9d6372.tar.bz2
yuzu-c0d152affa3e1c118247a2cb36c8a26dee9d6372.tar.lz
yuzu-c0d152affa3e1c118247a2cb36c8a26dee9d6372.tar.xz
yuzu-c0d152affa3e1c118247a2cb36c8a26dee9d6372.tar.zst
yuzu-c0d152affa3e1c118247a2cb36c8a26dee9d6372.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 59d66f71e..441c8af97 100644
--- a/src/common/fs/fs_paths.h
+++ b/src/common/fs/fs_paths.h
@@ -23,6 +23,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 84ed0ad10..0abd81a45 100644
--- a/src/common/fs/path_util.cpp
+++ b/src/common/fs/path_util.cpp
@@ -129,6 +129,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 289974e32..63801c924 100644
--- a/src/common/fs/path_util.h
+++ b/src/common/fs/path_util.h
@@ -25,6 +25,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.
};
/**