Made the splash screen progress bar animation slightly smoother.

This commit is contained in:
Leon Styhre 2023-01-23 00:09:31 +01:00
parent 24e40ea348
commit 0bfda9955c
2 changed files with 2 additions and 3 deletions

View file

@ -749,6 +749,8 @@ bool SystemData::loadConfig()
sSystemVector.emplace_back(newSys);
}
}
if (splashScreen)
Window::getInstance()->renderSplashScreen(Window::SplashScreenState::SCANNING, 0.5f);
}
// Sort systems by sortName, which will normally be the same as the full name.

View file

@ -1104,9 +1104,6 @@ void ViewController::preload()
{
unsigned int systemCount {static_cast<unsigned int>(SystemData::sSystemVector.size())};
if (Settings::getInstance()->getBool("SplashScreen"))
mWindow->renderSplashScreen(Window::SplashScreenState::POPULATING, 0.5f);
// This reduces the amount of texture pop-in when loading theme extras.
if (!SystemData::sSystemVector.empty())
getSystemListView();