1
0
mirror of https://github.com/cc65/cc65.git synced 2025-02-09 02:30:42 +00:00

style changes

This commit is contained in:
IrgendwerA8 2017-03-18 20:27:41 +01:00
parent 0985655ac7
commit ad003e5991

View File

@ -215,7 +215,9 @@ int PrintCycles;
ZPAddr = MemReadByte (Regs.PC+1); \
Addr = MemReadZPWord (ZPAddr); \
if (PAGE_CROSS (Addr, Regs.YR)) \
{ \
++Cycles; \
} \
Addr += Regs.YR; \
Regs.AC = Regs.AC op MemReadByte (Addr); \
TEST_ZF (Regs.AC); \
@ -257,8 +259,10 @@ int PrintCycles;
} \
TEST_CF (Regs.AC); \
SET_OF ((res < -128) || (res > 127)); \
if (CPU!=CPU_6502) \
if (CPU != CPU_6502) \
{ \
++Cycles; \
} \
} else { \
Regs.AC += rhs + GET_CF (); \
TEST_ZF (Regs.AC); \
@ -338,8 +342,10 @@ 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 { \
Regs.AC -= rhs + (!GET_CF ()); \
TEST_ZF (Regs.AC); \
@ -1238,7 +1244,7 @@ static void OPC_6502_6C (void)
PC = Regs.PC;
Lo = MemReadWord (PC+1);
if (CPU==CPU_6502)
if (CPU == CPU_6502)
{
/* Emulate the 6502 bug */
Cycles = 5;