mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
Fix directory globbing on Android
This commit is contained in:
parent
a05aca51ec
commit
b6fa89ea74
1 changed files with 1 additions and 1 deletions
|
|
@ -1855,7 +1855,7 @@ bool Android_JNI_FileClose(void *userdata)
|
|||
|
||||
bool Android_JNI_EnumerateAssetDirectory(const char *path, SDL_EnumerateDirectoryCallback cb, void *userdata)
|
||||
{
|
||||
SDL_assert((*path == '\0') || (path[SDL_strlen(path) - 1] == '/')); // SDL_SYS_EnumerateDirectory() should have verified this.
|
||||
SDL_assert(path != NULL);
|
||||
|
||||
if (!asset_manager) {
|
||||
Internal_Android_Create_AssetManager();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue