mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-30 03:55:40 +00:00
Removed the setting 'Preload gamelists on startup'.
This commit is contained in:
parent
06f6840038
commit
defbbfd13f
|
@ -1161,17 +1161,6 @@ void GuiMenu::openOtherOptions()
|
|||
}
|
||||
});
|
||||
|
||||
// Whether to preload the gamelists on application startup.
|
||||
auto preloadGamelists = std::make_shared<SwitchComponent>();
|
||||
preloadGamelists->setState(Settings::getInstance()->getBool("PreloadGamelists"));
|
||||
s->addWithLabel("PRELOAD GAMELISTS ON STARTUP", preloadGamelists);
|
||||
s->addSaveFunc([preloadGamelists, s] {
|
||||
if (preloadGamelists->getState() != Settings::getInstance()->getBool("PreloadGamelists")) {
|
||||
Settings::getInstance()->setBool("PreloadGamelists", preloadGamelists->getState());
|
||||
s->setNeedsSaving();
|
||||
}
|
||||
});
|
||||
|
||||
// Whether to enable alternative emulators per game (the option to disable this is intended
|
||||
// primarily for testing purposes).
|
||||
auto alternativeEmulatorPerGame = std::make_shared<SwitchComponent>();
|
||||
|
|
|
@ -945,11 +945,7 @@ void ViewController::preload()
|
|||
std::to_string(systemCount) + ")");
|
||||
}
|
||||
(*it)->getIndex()->resetFilters();
|
||||
|
||||
if (Settings::getInstance()->getBool("PreloadGamelists"))
|
||||
getGamelistView(*it)->preloadGamelist();
|
||||
else
|
||||
getGamelistView(*it);
|
||||
getGamelistView(*it)->preloadGamelist();
|
||||
}
|
||||
|
||||
// Load navigation sounds, either from the theme if it supports it, or otherwise from
|
||||
|
|
|
@ -233,7 +233,6 @@ void Settings::setDefaults()
|
|||
mBoolMap["VideoHardwareDecoding"] = {false, false};
|
||||
#endif
|
||||
mBoolMap["VideoUpscaleFrameRate"] = {false, false};
|
||||
mBoolMap["PreloadGamelists"] = {true, true};
|
||||
mBoolMap["AlternativeEmulatorPerGame"] = {true, true};
|
||||
mBoolMap["ShowHiddenFiles"] = {true, true};
|
||||
mBoolMap["ShowHiddenGames"] = {true, true};
|
||||
|
|
Loading…
Reference in a new issue