mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 01:49:42 -06:00
add warning message if romlist.bin is not found
This commit is contained in:
@ -2573,7 +2573,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)
|
||||||
@ -2590,6 +2589,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();
|
||||||
|
Reference in New Issue
Block a user