1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-26 05:29:30 +00:00

Fixed bug in original sim65 implementation (reason for C&P error in last commit)

This commit is contained in:
IrgendwerA8 2017-03-18 17:02:22 +01:00
parent c50e4d25e2
commit 0985655ac7

View File

@ -1447,7 +1447,7 @@ static void OPC_6502_7E (void)
unsigned Addr;
unsigned Val;
Cycles = 7;
Addr = MemReadByte (Regs.PC+1) + Regs.XR;
Addr = MemReadWord (Regs.PC+1) + Regs.XR;
Val = MemReadByte (Addr);
ROR (Val);
MemWriteByte (Addr, Val);