mirror of https://github.com/snes9xgit/snes9x.git
JMP with index has an I/O cycle here. Fixes Phalanx.
This commit is contained in:
parent
6ebe7b46d1
commit
d1b90ddb96
|
@ -302,6 +302,8 @@ static inline uint32 AbsoluteIndexedIndirectSlow (AccessMode a) // (a,X)
|
||||||
static inline uint32 AbsoluteIndexedIndirect (AccessMode a) // (a,X)
|
static inline uint32 AbsoluteIndexedIndirect (AccessMode a) // (a,X)
|
||||||
{
|
{
|
||||||
uint16 addr = Immediate16Slow(READ);
|
uint16 addr = Immediate16Slow(READ);
|
||||||
|
|
||||||
|
AddCycles(ONE_CYCLE);
|
||||||
addr += Registers.X.W;
|
addr += Registers.X.W;
|
||||||
|
|
||||||
// Address load wraps within the bank
|
// Address load wraps within the bank
|
||||||
|
|
Loading…
Reference in New Issue