mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-25 14:09:10 +00:00
Fixed crash if a file can't be opened on Android
This commit is contained in:
parent
9b2debb131
commit
4836fd1e70
1 changed files with 0 additions and 1 deletions
|
@ -600,7 +600,6 @@ SDL_IOStream *SDL_IOFromFile(const char *file, const char *mode)
|
|||
|
||||
void *iodata = NULL;
|
||||
if (Android_JNI_FileOpen(&iodata, file, mode) < 0) {
|
||||
Android_JNI_FileClose(iodata);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue