From 4ba34f2a69b14b04a6fef142ab4174b8b1b2fe65 Mon Sep 17 00:00:00 2001 From: IrgendwerA8 Date: Sat, 18 Mar 2017 16:54:00 +0100 Subject: [PATCH] fixed scrambled semicolon --- src/sim65/6502.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5