mirror of https://github.com/snes9xgit/snes9x.git
Fix bad implementation of INY in slow mode.
This commit is contained in:
parent
b115ab775b
commit
a47d93f86a
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue