diff options
| author | 2023-02-03 16:13:16 -0800 | |
|---|---|---|
| committer | 2023-06-03 00:05:29 -0700 | |
| commit | ef605f7d8f8241b95b977d95cf5247c1f2d8a309 (patch) | |
| tree | 7e9dcc62168e23115d05119a5854d59544c89b8d /src/common/fs/path_util.h | |
| parent | android: Harden emulation shutdown when loader fails. (diff) | |
| download | yuzu-ef605f7d8f8241b95b977d95cf5247c1f2d8a309.tar.gz yuzu-ef605f7d8f8241b95b977d95cf5247c1f2d8a309.tar.xz yuzu-ef605f7d8f8241b95b977d95cf5247c1f2d8a309.zip | |
android: Implement SAF support & migrate to SDK 31. (#4)
Diffstat (limited to 'src/common/fs/path_util.h')
| -rw-r--r-- | src/common/fs/path_util.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/fs/path_util.h b/src/common/fs/path_util.h index 13d713f1e..7cfe85b70 100644 --- a/src/common/fs/path_util.h +++ b/src/common/fs/path_util.h | |||
| @@ -181,6 +181,14 @@ template <typename Path> | |||
| 181 | #endif | 181 | #endif |
| 182 | 182 | ||
| 183 | /** | 183 | /** |
| 184 | * Sets the directory used for application storage. Used on Android where we do not know internal | ||
| 185 | * storage until informed by the frontend. | ||
| 186 | * | ||
| 187 | * @param app_directory Directory to use for application storage. | ||
| 188 | */ | ||
| 189 | void SetAppDirectory(const std::string& app_directory); | ||
| 190 | |||
| 191 | /** | ||
| 184 | * Gets the filesystem path associated with the YuzuPath enum. | 192 | * Gets the filesystem path associated with the YuzuPath enum. |
| 185 | * | 193 | * |
| 186 | * @param yuzu_path YuzuPath enum | 194 | * @param yuzu_path YuzuPath enum |