mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-04-10 19:15:14 +00:00
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;
|
return;
|
||||||
|
|
||||||
cc.enabled = enabled;
|
cc.enabled = enabled;
|
||||||
|
if (!enabled)
|
||||||
|
cc.ApplyOnDisable();
|
||||||
|
|
||||||
if (enabled)
|
if (enabled)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue