diff options
author | Arisotura <thetotalworm@gmail.com> | 2019-09-01 20:25:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-01 20:25:06 +0200 |
commit | 27498ced4a486dd12c8b32f0f3a66cddf0605cd6 (patch) | |
tree | 917a15dd478d55fd709e5ff1e07d533c7d60c6d0 /src | |
parent | b3df6e523adf47bb7b1f2108fc4204cc85dd9617 (diff) | |
parent | fefcd5165b52798b71f6b00c4b45d3ffab537b7f (diff) |
Merge pull request #505 from Zettymaster/master
Add warning message if romlist.bin is not found
Diffstat (limited to 'src')
-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 24febf6..7fd02bb 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(); |