diff options
Diffstat (limited to 'src/common/fs/path_util.h')
| -rw-r--r-- | src/common/fs/path_util.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/common/fs/path_util.h b/src/common/fs/path_util.h index 13d713f1e..ba28964d0 100644 --- a/src/common/fs/path_util.h +++ b/src/common/fs/path_util.h | |||
| @@ -12,6 +12,7 @@ namespace Common::FS { | |||
| 12 | 12 | ||
| 13 | enum class YuzuPath { | 13 | enum class YuzuPath { |
| 14 | YuzuDir, // Where yuzu stores its data. | 14 | YuzuDir, // Where yuzu stores its data. |
| 15 | AmiiboDir, // Where Amiibo backups are stored. | ||
| 15 | CacheDir, // Where cached filesystem data is stored. | 16 | CacheDir, // Where cached filesystem data is stored. |
| 16 | ConfigDir, // Where config files are stored. | 17 | ConfigDir, // Where config files are stored. |
| 17 | DumpDir, // Where dumped data is stored. | 18 | DumpDir, // Where dumped data is stored. |
| @@ -181,6 +182,14 @@ template <typename Path> | |||
| 181 | #endif | 182 | #endif |
| 182 | 183 | ||
| 183 | /** | 184 | /** |
| 185 | * Sets the directory used for application storage. Used on Android where we do not know internal | ||
| 186 | * storage until informed by the frontend. | ||
| 187 | * | ||
| 188 | * @param app_directory Directory to use for application storage. | ||
| 189 | */ | ||
| 190 | void SetAppDirectory(const std::string& app_directory); | ||
| 191 | |||
| 192 | /** | ||
| 184 | * Gets the filesystem path associated with the YuzuPath enum. | 193 | * Gets the filesystem path associated with the YuzuPath enum. |
| 185 | * | 194 | * |
| 186 | * @param yuzu_path YuzuPath enum | 195 | * @param yuzu_path YuzuPath enum |