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:
parent
bbcf1c67d1
commit
6c70d7b8b3
|
@ -3891,6 +3891,8 @@ void CommonHostInterface::SetCheatCodeState(u32 index, bool enabled, bool save_t
|
|||
return;
|
||||
|
||||
cc.enabled = enabled;
|
||||
if (!enabled)
|
||||
cc.ApplyOnDisable();
|
||||
|
||||
if (enabled)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue