mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-18 04:45: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);
|
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.
|
// 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())};
|
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.
|
// This reduces the amount of texture pop-in when loading theme extras.
|
||||||
if (!SystemData::sSystemVector.empty())
|
if (!SystemData::sSystemVector.empty())
|
||||||
getSystemListView();
|
getSystemListView();
|
||||||
|
|
Loading…
Reference in a new issue