mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 09:35:39 +00:00
Made the splash screen progress bar animation slightly smoother.
This commit is contained in:
parent
24e40ea348
commit
0bfda9955c
|
@ -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.
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue