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.
This commit is contained in:
Léo Lam 2016-10-09 17:15:24 +02:00
parent c8cb1fa7d7
commit 8a0b292f07
1 changed files with 1 additions and 0 deletions

View File

@ -86,6 +86,7 @@ void SConfig::Shutdown()
SConfig::~SConfig()
{
SaveSettings();
SaveSettingsToSysconf();
}
void SConfig::SaveSettings()