diff --git a/cpuops.cpp b/cpuops.cpp index 112973f0..f0abf199 100644 --- a/cpuops.cpp +++ b/cpuops.cpp @@ -1754,12 +1754,12 @@ static void OpC8Slow (void) if (CheckIndex()) { - Registers.YL--; + Registers.YL++; SetZN(Registers.YL); } else { - Registers.Y.W--; + Registers.Y.W++; SetZN(Registers.Y.W); } }