From: IrgendwerA8 Date: Sat, 18 Mar 2017 15:54:00 +0000 (+0100) Subject: fixed scrambled semicolon X-Git-Tag: V2.16~25^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4ba34f2a69b14b04a6fef142ab4174b8b1b2fe65;p=cc65 fixed scrambled semicolon --- diff --git a/src/sim65/6502.c b/src/sim65/6502.c index b6559ee46..bd5abcac7 100644 --- a/src/sim65/6502.c +++ b/src/sim65/6502.c @@ -865,10 +865,10 @@ static void OPC_65SC02_3C (void) unsigned Addr; unsigned char Val; Cycles = 4; - Addr = MemReadByte (Regs.PC+1) + Addr = MemReadByte (Regs.PC+1); if (PAGE_CROSS (Addr, Regs.XR)) ++Cycles; - Val = MemReadByte (Addr + Regs.XR;); + Val = MemReadByte (Addr + Regs.XR); SET_SF (Val & 0x80); SET_OF (Val & 0x40); SET_ZF ((Val & Regs.AC) == 0);