mirror of
https://github.com/cc65/cc65.git
synced 2024-09-29 17:56:21 +00:00
Fixed bug in original sim65 implementation (reason for C&P error in last commit)
This commit is contained in:
parent
c50e4d25e2
commit
0985655ac7
@ -1447,7 +1447,7 @@ static void OPC_6502_7E (void)
|
|||||||
unsigned Addr;
|
unsigned Addr;
|
||||||
unsigned Val;
|
unsigned Val;
|
||||||
Cycles = 7;
|
Cycles = 7;
|
||||||
Addr = MemReadByte (Regs.PC+1) + Regs.XR;
|
Addr = MemReadWord (Regs.PC+1) + Regs.XR;
|
||||||
Val = MemReadByte (Addr);
|
Val = MemReadByte (Addr);
|
||||||
ROR (Val);
|
ROR (Val);
|
||||||
MemWriteByte (Addr, Val);
|
MemWriteByte (Addr, Val);
|
||||||
|
Loading…
Reference in New Issue
Block a user