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
@@ -301,7 +301,6 @@ UI::EventReturn GameScreen::OnRemoveFromRecent(UI::EventParams &e) {
if (!strcmp((*it).c_str(), gamePath_.c_str())) {
#endif
g_Config.recentIsos.erase(it);
g_Config.Save();
screenManager()->switchScreen(new MainScreen());
return UI::EVENT_DONE;
}