Settings: Persist OSD options when resetting

This commit is contained in:
Connor McLaughlin
2022-10-08 23:36:39 +10:00
parent 1745d3e803
commit 3a3f571ecc
2 changed files with 10 additions and 10 deletions

View File

@ -287,18 +287,9 @@ void CommonHost::SetDefaultSettings(SettingsInterface& si)
si.SetBoolValue("Main", "EnableDiscordPresence", false);
#endif
#ifdef WITH_CHEEVOS
si.SetBoolValue("Cheevos", "Enabled", false);
si.SetBoolValue("Cheevos", "TestMode", false);
si.SetBoolValue("Cheevos", "UnofficialTestMode", false);
si.SetBoolValue("Cheevos", "UseFirstDiscFromPlaylist", true);
si.DeleteValue("Cheevos", "Username");
si.DeleteValue("Cheevos", "Token");
#ifdef WITH_RAINTEGRATION
#if defined(WITH_CHEEVOS) && defined(WITH_RAINTEGRATION)
si.SetBoolValue("Cheevos", "UseRAIntegration", false);
#endif
#endif
}
void CommonHost::SetDefaultControllerSettings(SettingsInterface& si)