mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-16 00:08:15 +00:00
Support Android internal data storage
Useful to save small data files (configuration and so) For bigger files, external data storage should be used (SDCard)
This commit is contained in:
@@ -247,7 +247,7 @@ FILE *android_fopen(const char *fileName, const char *mode)
|
||||
|
||||
AAsset *asset = AAssetManager_open(assetManager, fileName, 0);
|
||||
|
||||
if(!asset) return NULL;
|
||||
if (!asset) return NULL;
|
||||
|
||||
return funopen(asset, android_read, android_write, android_seek, android_close);
|
||||
}
|
||||
|
Reference in New Issue
Block a user