Fix bad implementation of INY in slow mode.

This commit is contained in:
Alcaro 2014-03-08 20:38:24 +01:00
parent b115ab775b
commit a47d93f86a
1 changed files with 2 additions and 2 deletions

View File

@ -1754,12 +1754,12 @@ static void OpC8Slow (void)
if (CheckIndex()) if (CheckIndex())
{ {
Registers.YL--; Registers.YL++;
SetZN(Registers.YL); SetZN(Registers.YL);
} }
else else
{ {
Registers.Y.W--; Registers.Y.W++;
SetZN(Registers.Y.W); SetZN(Registers.Y.W);
} }
} }