From 05c285f76088ecdeb8d90e34773434e0335de96f Mon Sep 17 00:00:00 2001 From: Stenzek Date: Mon, 21 Oct 2024 00:08:56 +1000 Subject: [PATCH] Settings: Fix cheats/patches not being removed on clear --- src/core/settings.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/settings.cpp b/src/core/settings.cpp index d2d69a9d7..1866f297a 100644 --- a/src/core/settings.cpp +++ b/src/core/settings.cpp @@ -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