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
2025-11-15 09:06:03 -08:00
parent 07f995eb72
commit 4bc9ab665d
3 changed files with 11 additions and 9 deletions

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.