Cheats: Call ApplyOnDisable on disabling cheats from the list

Fixes an inconsistency in disabling cheats between the list
and the Cheat Manager.
This commit is contained in:
Silent 2021-08-25 18:15:32 +02:00
parent bbcf1c67d1
commit 6c70d7b8b3
No known key found for this signature in database
GPG key ID: AE53149BB0C45AF1

View file

@ -3891,6 +3891,8 @@ void CommonHostInterface::SetCheatCodeState(u32 index, bool enabled, bool save_t
return;
cc.enabled = enabled;
if (!enabled)
cc.ApplyOnDisable();
if (enabled)
{