diff options
Diffstat (limited to 'src/common/fs/path_util.h')
| -rw-r--r-- | src/common/fs/path_util.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/common/fs/path_util.h b/src/common/fs/path_util.h index 63801c924..b88a388d1 100644 --- a/src/common/fs/path_util.h +++ b/src/common/fs/path_util.h | |||
| @@ -244,7 +244,6 @@ void SetYuzuPath(YuzuPath yuzu_path, const Path& new_path) { | |||
| 244 | * @returns The path of the current user's %APPDATA% directory. | 244 | * @returns The path of the current user's %APPDATA% directory. |
| 245 | */ | 245 | */ |
| 246 | [[nodiscard]] std::filesystem::path GetAppDataRoamingDirectory(); | 246 | [[nodiscard]] std::filesystem::path GetAppDataRoamingDirectory(); |
| 247 | |||
| 248 | #else | 247 | #else |
| 249 | 248 | ||
| 250 | /** | 249 | /** |
| @@ -275,6 +274,20 @@ void SetYuzuPath(YuzuPath yuzu_path, const Path& new_path) { | |||
| 275 | 274 | ||
| 276 | #endif | 275 | #endif |
| 277 | 276 | ||
| 277 | /** | ||
| 278 | * Gets the path of the current user's desktop directory. | ||
| 279 | * | ||
| 280 | * @returns The path of the current user's desktop directory. | ||
| 281 | */ | ||
| 282 | [[nodiscard]] std::filesystem::path GetDesktopPath(); | ||
| 283 | |||
| 284 | /** | ||
| 285 | * Gets the path of the current user's apps directory. | ||
| 286 | * | ||
| 287 | * @returns The path of the current user's apps directory. | ||
| 288 | */ | ||
| 289 | [[nodiscard]] std::filesystem::path GetAppsShortcutsPath(); | ||
| 290 | |||
| 278 | // vvvvvvvvvv Deprecated vvvvvvvvvv // | 291 | // vvvvvvvvvv Deprecated vvvvvvvvvv // |
| 279 | 292 | ||
| 280 | // Removes the final '/' or '\' if one exists | 293 | // Removes the final '/' or '\' if one exists |