JMP with index has an I/O cycle here. Fixes Phalanx.

This commit is contained in:
Brandon Wright 2018-07-05 10:54:19 -05:00
parent 6ebe7b46d1
commit d1b90ddb96
1 changed files with 2 additions and 0 deletions

View File

@ -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