diff --git a/.gitignore b/.gitignore index f63e2394..bd1d4857 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ obj melon_grc.c melon_grc.h cmake-build +cmake-build-debug +.idea diff --git a/src/libui_sdl/main.cpp b/src/libui_sdl/main.cpp index 24febf61..7fd02bb7 100644 --- a/src/libui_sdl/main.cpp +++ b/src/libui_sdl/main.cpp @@ -2608,7 +2608,6 @@ int main(int argc, char** argv) SDL_Quit(); return 0; } - { FILE* f = Platform::OpenLocalFile("romlist.bin", "rb"); if (f) @@ -2625,6 +2624,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();