add warning message if romlist.bin is not found

This commit is contained in:
Lukas Wienke 2019-08-15 23:55:00 +02:00
parent 5998f7be5f
commit 6a50bcfaf7
1 changed files with 7 additions and 1 deletions

View File

@ -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();