From d1b90ddb96995875b1248fc4dadc4a3f9288585d Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Thu, 5 Jul 2018 10:54:19 -0500 Subject: [PATCH] JMP with index has an I/O cycle here. Fixes Phalanx. --- cpuaddr.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpuaddr.h b/cpuaddr.h index fd3cb9e2..56627881 100644 --- a/cpuaddr.h +++ b/cpuaddr.h @@ -302,6 +302,8 @@ static inline uint32 AbsoluteIndexedIndirectSlow (AccessMode a) // (a,X) static inline uint32 AbsoluteIndexedIndirect (AccessMode a) // (a,X) { uint16 addr = Immediate16Slow(READ); + + AddCycles(ONE_CYCLE); addr += Registers.X.W; // Address load wraps within the bank