mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
Moved the System view preloading to the correct location.
This commit is contained in:
parent
7c366d776e
commit
80555eb7a3
|
@ -938,6 +938,10 @@ void ViewController::preload()
|
|||
{
|
||||
unsigned int systemCount = static_cast<int>(SystemData::sSystemVector.size());
|
||||
|
||||
// This reduces the amount of texture pop-in when loading theme extras.
|
||||
if (!SystemData::sSystemVector.empty())
|
||||
getSystemListView();
|
||||
|
||||
for (auto it = SystemData::sSystemVector.cbegin(); it != SystemData::sSystemVector.cend();
|
||||
++it) {
|
||||
if (Settings::getInstance()->getBool("SplashScreen") &&
|
||||
|
@ -949,9 +953,6 @@ void ViewController::preload()
|
|||
}
|
||||
(*it)->getIndex()->resetFilters();
|
||||
|
||||
// This makes sure we avoid texture pop-in when loading theme extras.
|
||||
getSystemListView();
|
||||
|
||||
if (Settings::getInstance()->getBool("PreloadGamelists"))
|
||||
getGameListView(*it)->preloadGamelist();
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue