From a47d93f86ae8613095a6bfe2676d3be80bfdc7bc Mon Sep 17 00:00:00 2001 From: Alcaro Date: Sat, 8 Mar 2014 20:38:24 +0100 Subject: [PATCH] Fix bad implementation of INY in slow mode. --- cpuops.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } }