diff options
| author | 2023-10-08 17:11:52 -0400 | |
|---|---|---|
| committer | 2023-10-08 17:11:52 -0400 | |
| commit | c0d152affa3e1c118247a2cb36c8a26dee9d6372 (patch) | |
| tree | 4eba3e56e85575c4498567f97627b93a8b199ac2 /src/common/fs | |
| parent | Merge pull request #10519 from mdmrk/master (diff) | |
| parent | yuzu: Add desktop shortcut support for Windows (diff) | |
| download | yuzu-c0d152affa3e1c118247a2cb36c8a26dee9d6372.tar.gz yuzu-c0d152affa3e1c118247a2cb36c8a26dee9d6372.tar.xz yuzu-c0d152affa3e1c118247a2cb36c8a26dee9d6372.zip | |
Merge pull request #11705 from FearlessTobi/windows-sc
yuzu: Add desktop shortcut support for Windows (continuation of #11344)
Diffstat (limited to 'src/common/fs')
| -rw-r--r-- | src/common/fs/fs_paths.h | 1 | ||||
| -rw-r--r-- | src/common/fs/path_util.cpp | 1 | ||||
| -rw-r--r-- | src/common/fs/path_util.h | 1 |
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 @@ | |||
| 23 | #define SDMC_DIR "sdmc" | 23 | #define SDMC_DIR "sdmc" |
| 24 | #define SHADER_DIR "shader" | 24 | #define SHADER_DIR "shader" |
| 25 | #define TAS_DIR "tas" | 25 | #define TAS_DIR "tas" |
| 26 | #define ICONS_DIR "icons" | ||
| 26 | 27 | ||
| 27 | // yuzu-specific files | 28 | // yuzu-specific files |
| 28 | 29 | ||
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: | |||
| 129 | GenerateYuzuPath(YuzuPath::SDMCDir, yuzu_path / SDMC_DIR); | 129 | GenerateYuzuPath(YuzuPath::SDMCDir, yuzu_path / SDMC_DIR); |
| 130 | GenerateYuzuPath(YuzuPath::ShaderDir, yuzu_path / SHADER_DIR); | 130 | GenerateYuzuPath(YuzuPath::ShaderDir, yuzu_path / SHADER_DIR); |
| 131 | GenerateYuzuPath(YuzuPath::TASDir, yuzu_path / TAS_DIR); | 131 | GenerateYuzuPath(YuzuPath::TASDir, yuzu_path / TAS_DIR); |
| 132 | GenerateYuzuPath(YuzuPath::IconsDir, yuzu_path / ICONS_DIR); | ||
| 132 | } | 133 | } |
| 133 | 134 | ||
| 134 | private: | 135 | 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 { | |||
| 25 | SDMCDir, // Where the emulated SDMC is stored. | 25 | SDMCDir, // Where the emulated SDMC is stored. |
| 26 | ShaderDir, // Where shaders are stored. | 26 | ShaderDir, // Where shaders are stored. |
| 27 | TASDir, // Where TAS scripts are stored. | 27 | TASDir, // Where TAS scripts are stored. |
| 28 | IconsDir, // Where Icons for Windows shortcuts are stored. | ||
| 28 | }; | 29 | }; |
| 29 | 30 | ||
| 30 | /** | 31 | /** |