Just save the current config every time the config file is switched

also undo #7473 because it would now introduce redundant writes.
This commit is contained in:
Peter Tissen committed 2015-02-14 19:21:26 +01:00
1 parent ad345f9746
commit ba96b7b31c
6 files changed
+2 -5

No files matched your search

-1
View File
@@ -59,7 +59,6 @@ bool GameInfo::DeleteGame() {
auto i = std::find(g_Config.recentIsos.begin(), g_Config.recentIsos.end(), fileToRemove);
if (i != g_Config.recentIsos.end()) {
g_Config.recentIsos.erase(i);
g_Config.Save();
}
return true;
}