mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-12 18:55:42 -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;
|
||||
|
||||
cc.enabled = enabled;
|
||||
if (!enabled)
|
||||
cc.ApplyOnDisable();
|
||||
|
||||
if (enabled)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user