Changed how pending gamelist writes are handled when rescanning the ROM directory

This commit is contained in:
Leon Styhre 2023-07-21 12:00:22 +02:00
parent 599d1e736d
commit 79a18c07ac

View file

@ -1752,7 +1752,7 @@ void GuiMenu::openUtilities()
window->stopInfoPopup(); window->stopInfoPopup();
GuiMenu::close(true); GuiMenu::close(true);
// Write any gamelist.xml changes before proceeding with the reload. // Write any gamelist.xml changes before proceeding with the reload.
if (Settings::getInstance()->getString("SaveGamelistsMode") != "never") { if (Settings::getInstance()->getString("SaveGamelistsMode") == "on exit") {
for (auto system : SystemData::sSystemVector) for (auto system : SystemData::sSystemVector)
system->writeMetaData(); system->writeMetaData();
} }