filesystem: android: request buffer for Android asset LoadFile implementation
Might be better than asking for random access and then only reading forward.
This commit is contained in:
parent
f29c588e0f
commit
b7c025b167
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ static byte *FS_LoadAndroidAssetsFile( searchpath_t *search, const char *path, i
|
|||
|
||||
if( filesize ) *filesize = 0;
|
||||
|
||||
asset = AAssetManager_open( search->assets->asset_manager, path, AASSET_MODE_RANDOM );
|
||||
asset = AAssetManager_open( search->assets->asset_manager, path, AASSET_MODE_BUFFER );
|
||||
if( !asset )
|
||||
return NULL;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue