Merge pull request #505 from Zettymaster/master
Add warning message if romlist.bin is not found
This commit is contained in:
commit
27498ced4a
|
@ -6,3 +6,5 @@ obj
|
||||||
melon_grc.c
|
melon_grc.c
|
||||||
melon_grc.h
|
melon_grc.h
|
||||||
cmake-build
|
cmake-build
|
||||||
|
cmake-build-debug
|
||||||
|
.idea
|
||||||
|
|
|
@ -2608,7 +2608,6 @@ int main(int argc, char** argv)
|
||||||
SDL_Quit();
|
SDL_Quit();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
FILE* f = Platform::OpenLocalFile("romlist.bin", "rb");
|
FILE* f = Platform::OpenLocalFile("romlist.bin", "rb");
|
||||||
if (f)
|
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).");
|
"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();
|
CreateMainWindowMenu();
|
||||||
|
|
Loading…
Reference in New Issue