From 12f7e20c958ac67a6253cce40d2abbdce0bac908 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Fri, 19 Aug 2022 17:02:25 +0200 Subject: [PATCH] Fixed a crash when there are no game ROMs present. --- es-app/src/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/es-app/src/main.cpp b/es-app/src/main.cpp index 830da597c..65047066f 100644 --- a/es-app/src/main.cpp +++ b/es-app/src/main.cpp @@ -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");