summaryrefslogtreecommitdiff
path: root/src/common/fs/path_util.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-02-03 16:13:16 -0800
committerbunnei <bunneidev@gmail.com>2023-06-03 00:05:29 -0700
commitef605f7d8f8241b95b977d95cf5247c1f2d8a309 (patch)
tree7e9dcc62168e23115d05119a5854d59544c89b8d /src/common/fs/path_util.h
parent39ab81a098a28a229b254f6ff82e0a02c9de5c81 (diff)
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.h8
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>
#endif
/**
+ * Sets the directory used for application storage. Used on Android where we do not know internal
+ * storage until informed by the frontend.
+ *
+ * @param app_directory Directory to use for application storage.
+ */
+void SetAppDirectory(const std::string& app_directory);
+
+/**
* Gets the filesystem path associated with the YuzuPath enum.
*
* @param yuzu_path YuzuPath enum