Settings: Fix cheats/patches not being removed on clear

This commit is contained in:
Stenzek 2024-10-21 00:08:56 +10:00
parent c250209336
commit 05c285f760
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

View File

@ -774,6 +774,10 @@ void Settings::Clear(SettingsInterface& si)
si.ClearSection("Logging");
si.ClearSection("Debug");
si.ClearSection("TextureReplacements");
// Cheats/patches have to be removed too.
si.ClearSection("Cheats");
si.ClearSection("Patches");
}
bool Settings::TextureReplacementSettings::Configuration::operator==(const Configuration& rhs) const