]> git.sur5r.net Git - cc65/commitdiff
fixed curly brackets for single line scopes 405/head
authorIrgendwerA8 <c.krueger.b@web.de>
Sat, 18 Mar 2017 21:52:13 +0000 (22:52 +0100)
committerIrgendwerA8 <c.krueger.b@web.de>
Sat, 18 Mar 2017 21:52:13 +0000 (22:52 +0100)
src/sim65/6502.c

index eeaeeca220a6c2149108c5b34a3a56243bbb56be..0320dd895da3785dc00bee2e58572b0ae270fa50 100644 (file)
@@ -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 {                                                \