mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +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
|
// Whether to enable alternative emulators per game (the option to disable this is intended
|
||||||
// primarily for testing purposes).
|
// primarily for testing purposes).
|
||||||
auto alternativeEmulatorPerGame = std::make_shared<SwitchComponent>();
|
auto alternativeEmulatorPerGame = std::make_shared<SwitchComponent>();
|
||||||
|
|
|
||||||
|
|
@ -945,11 +945,7 @@ void ViewController::preload()
|
||||||
std::to_string(systemCount) + ")");
|
std::to_string(systemCount) + ")");
|
||||||
}
|
}
|
||||||
(*it)->getIndex()->resetFilters();
|
(*it)->getIndex()->resetFilters();
|
||||||
|
getGamelistView(*it)->preloadGamelist();
|
||||||
if (Settings::getInstance()->getBool("PreloadGamelists"))
|
|
||||||
getGamelistView(*it)->preloadGamelist();
|
|
||||||
else
|
|
||||||
getGamelistView(*it);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load navigation sounds, either from the theme if it supports it, or otherwise from
|
// 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};
|
mBoolMap["VideoHardwareDecoding"] = {false, false};
|
||||||
#endif
|
#endif
|
||||||
mBoolMap["VideoUpscaleFrameRate"] = {false, false};
|
mBoolMap["VideoUpscaleFrameRate"] = {false, false};
|
||||||
mBoolMap["PreloadGamelists"] = {true, true};
|
|
||||||
mBoolMap["AlternativeEmulatorPerGame"] = {true, true};
|
mBoolMap["AlternativeEmulatorPerGame"] = {true, true};
|
||||||
mBoolMap["ShowHiddenFiles"] = {true, true};
|
mBoolMap["ShowHiddenFiles"] = {true, true};
|
||||||
mBoolMap["ShowHiddenGames"] = {true, true};
|
mBoolMap["ShowHiddenGames"] = {true, true};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue