diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2016-10-09 17:15:24 +0200 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2016-10-09 17:15:24 +0200 |
| commit | 8a0b292f07b17fa95fa8be79977cb77bfec3924f (patch) | |
| tree | 7e496315f70de4a84b067983482ae9fee002d427 /Source | |
| parent | c8cb1fa7d70fccb280dc44c61a118f2796af8456 (diff) | |
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.
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Core/Core/ConfigManager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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() |
