diff --git a/src/libui_sdl/Platform.cpp b/src/libui_sdl/Platform.cpp index 89429270..8b83a014 100644 --- a/src/libui_sdl/Platform.cpp +++ b/src/libui_sdl/Platform.cpp @@ -186,6 +186,9 @@ FILE* OpenDataFile(const char* path) } free(fullpath); } + + FILE* f = fopen(path, "rb"); + if (f) return f; return NULL; }