Fixed a crash when there are no game ROMs present.

This commit is contained in:
Leon Styhre 2022-08-19 17:02:25 +02:00
parent 8618ee7ea4
commit 12f7e20c95

View file

@ -715,7 +715,10 @@ int main(int argc, char* argv[])
// This makes for no delays when accessing content, but a longer startup time.
ViewController::getInstance()->preload();
LOG(LogInfo) << "Finished loading theme set \"" << ThemeData::getCurrentThemeSetName() << "\"";
if (loadSystemsStatus == loadSystemsReturnCode::LOADING_OK) {
LOG(LogInfo) << "Finished loading theme set \"" << ThemeData::getCurrentThemeSetName()
<< "\"";
}
if (splashScreen && splashScreenProgress)
window->renderLoadingScreen("Done");