mirror of https://github.com/snes9xgit/snes9x.git
Update with current byte.
This commit is contained in:
parent
7bb10e10e4
commit
4fde5d5120
|
@ -429,10 +429,15 @@ void S9xDisableCheat (SCheat *c)
|
|||
if (!c->enabled)
|
||||
return;
|
||||
|
||||
c->enabled = false;
|
||||
|
||||
if (!Cheat.enabled)
|
||||
{
|
||||
c->enabled = false;
|
||||
return;
|
||||
}
|
||||
|
||||
/* Make sure we restore the up-to-date written byte */
|
||||
S9xUpdateCheatInMemory (c);
|
||||
c->enabled = false;
|
||||
|
||||
if (c->conditional && !c->cond_true)
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue