Fix directory globbing on Android

This commit is contained in:
Alexander Batalov authored and Ryan C. Gordon committed 2025-08-04 23:12:54 -04:00
1 parent a05aca51ec
commit b6fa89ea74
1 file changed
+1 -1
+1 -1
View File
@@ -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();