1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 02:29:52 +00:00

additional fix for scrambled code (sorry)

This commit is contained in:
IrgendwerA8 2017-03-18 16:56:36 +01:00
parent 4ba34f2a69
commit c50e4d25e2

View File

@ -865,7 +865,7 @@ static void OPC_65SC02_3C (void)
unsigned Addr;
unsigned char Val;
Cycles = 4;
Addr = MemReadByte (Regs.PC+1);
Addr = MemReadWord (Regs.PC+1);
if (PAGE_CROSS (Addr, Regs.XR))
++Cycles;
Val = MemReadByte (Addr + Regs.XR);