Use a base path of "./" on Android

This allows filesystem operations to use internal storage and the asset system by default.
This commit is contained in:
Sam Lantinga committed 2025-11-15 11:29:37 -08:00
1 parent 07f995eb72
commit 4bc9ab665d
3 files changed
+11 -9

No files matched your search

+2
View File
@@ -77,6 +77,8 @@ extern "C" {
* - `parent`: the containing directory of the bundle. For example:
* `/Applications/SDLApp/`
*
* **Android Specific Functionality**: This function returns "./", which allows filesystem operations to use internal storage and the asset system.
*
* **Nintendo 3DS Specific Functionality**: This function returns "romfs"
* directory of the application as it is uncommon to store resources outside
* the executable. As such it is not a writable directory.