From 8a0b292f07b17fa95fa8be79977cb77bfec3924f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sun, 9 Oct 2016 17:15:24 +0200 Subject: [PATCH] ConfigManager: Sync Dolphin settings to SYSCONF on exit 4319 made Dolphin not read/write directly to the SYSCONF and read settings from the SYSCONF at boot, and only write Dolphin settings to the SYSCONF at emulation startup. However, this also made it a bit confusing, because if settings were changed, then Dolphin was exited without starting a game in between, the settings wouldn't actually get persisted. This is fixed by syncing Dolphin settings with the SYSCONF when Dolphin exits. --- Source/Core/Core/ConfigManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/Core/ConfigManager.cpp b/Source/Core/Core/ConfigManager.cpp index 589c1e1b8f..d1ee866190 100644 --- a/Source/Core/Core/ConfigManager.cpp +++ b/Source/Core/Core/ConfigManager.cpp @@ -86,6 +86,7 @@ void SConfig::Shutdown() SConfig::~SConfig() { SaveSettings(); + SaveSettingsToSysconf(); } void SConfig::SaveSettings()