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 -1
View File
@@ -395,8 +395,8 @@ void GamePauseScreen::CallbackDeleteConfig(bool yes)
{
if (yes) {
GameInfo *info = g_gameInfoCache.GetInfo(NULL, gamePath_, 0);
g_Config.deleteGameConfig(info->id);
g_Config.unloadGameConfig();
g_Config.deleteGameConfig(info->id);
screenManager()->RecreateAllViews();
}
}