diff options
author | Lukas Wienke <sakul301@gmail.com> | 2019-08-15 23:55:00 +0200 |
---|---|---|
committer | Lukas Wienke <sakul301@gmail.com> | 2019-08-15 23:59:05 +0200 |
commit | 6a50bcfaf70a08295db62d2a706db158853f179b (patch) | |
tree | 05a8ff27f73eb32094d5e2d57e82fb268ba6f2b3 | |
parent | 5998f7be5f65c259c590bc34b708eac0ea1f8b78 (diff) |
add warning message if romlist.bin is not found
-rw-r--r-- | src/libui_sdl/main.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/libui_sdl/main.cpp b/src/libui_sdl/main.cpp index a19495b..38b734b 100644 --- a/src/libui_sdl/main.cpp +++ b/src/libui_sdl/main.cpp @@ -2573,7 +2573,6 @@ int main(int argc, char** argv) SDL_Quit(); return 0; } - { FILE* f = Platform::OpenLocalFile("romlist.bin", "rb"); if (f) @@ -2590,6 +2589,13 @@ int main(int argc, char** argv) "You should use the latest version of romlist.bin (provided in melonDS release packages)."); } } + else + { + uiMsgBoxError(NULL, + "romlist.bin not found.", + "Save memory type detection will not work correctly.\n\n" + "You should use the latest version of romlist.bin (provided in melonDS release packages)."); + } } CreateMainWindowMenu(); |