mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-13 02:25:43 -04: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…
x
Reference in New Issue
Block a user