0.2.0-dev Download ZIP
13 lines ·477 B Raw
| 1 | diff --git a/thirdparty/sdl/io/SDL_iostream.c b/thirdparty/sdl/io/SDL_iostream.c |
| 2 | index 31c74ab503..75c4c69a06 100644 |
| 3 | --- a/thirdparty/sdl/io/SDL_iostream.c |
| 4 | +++ b/thirdparty/sdl/io/SDL_iostream.c |
| 5 | @@ -956,7 +956,7 @@ SDL_IOStream *SDL_IOFromFile(const char *file, const char *mode) |
| 6 | } |
| 7 | } |
| 8 | |
| 9 | -#elif defined(SDL_PLATFORM_IOS) |
| 10 | +#elif defined(SDL_PLATFORM_IOS) && !defined(SDL_FILESYSTEM_DUMMY) |
| 11 | |
| 12 | // Try to open the file on the filesystem first |
| 13 | FILE *fp = NULL; |