From e14e13abf4850c16bade80f3519faf2760b322d2 Mon Sep 17 00:00:00 2001 From: IrgendwerA8 Date: Sat, 18 Mar 2017 22:52:13 +0100 Subject: [PATCH] fixed curly brackets for single line scopes --- src/sim65/6502.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/sim65/6502.c b/src/sim65/6502.c index eeaeeca22..0320dd895 100644 --- a/src/sim65/6502.c +++ b/src/sim65/6502.c @@ -214,8 +214,7 @@ int PrintCycles; Cycles = 5; \ ZPAddr = MemReadByte (Regs.PC+1); \ Addr = MemReadZPWord (ZPAddr); \ - if (PAGE_CROSS (Addr, Regs.YR)) \ - { \ + if (PAGE_CROSS (Addr, Regs.YR)) { \ ++Cycles; \ } \ Addr += Regs.YR; \ @@ -259,8 +258,7 @@ int PrintCycles; } \ TEST_CF (Regs.AC); \ SET_OF ((res < -128) || (res > 127)); \ - if (CPU != CPU_6502) \ - { \ + if (CPU != CPU_6502) { \ ++Cycles; \ } \ } else { \ @@ -342,8 +340,7 @@ int PrintCycles; TEST_SF (res); \ SET_CF (res <= 0xFF); \ SET_OF (((old^rhs) & (old^res) & 0x80)); \ - if (CPU != CPU_6502) \ - { \ + if (CPU != CPU_6502) { \ ++Cycles; \ } \ } else { \ -- 2.39.5