From 6c70d7b8b3873d2a34ca0b31874b51471446d379 Mon Sep 17 00:00:00 2001 From: Silent Date: Wed, 25 Aug 2021 18:15:32 +0200 Subject: [PATCH] Cheats: Call ApplyOnDisable on disabling cheats from the list Fixes an inconsistency in disabling cheats between the list and the Cheat Manager. --- src/frontend-common/common_host_interface.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frontend-common/common_host_interface.cpp b/src/frontend-common/common_host_interface.cpp index 12b6463ea..b1fbe1fcc 100644 --- a/src/frontend-common/common_host_interface.cpp +++ b/src/frontend-common/common_host_interface.cpp @@ -3891,6 +3891,8 @@ void CommonHostInterface::SetCheatCodeState(u32 index, bool enabled, bool save_t return; cc.enabled = enabled; + if (!enabled) + cc.ApplyOnDisable(); if (enabled) {