--- Frodo4/Src/CPU_emulcycle.h 2003/07/01 17:16:21 1.1 +++ Frodo4/Src/CPU_emulcycle.h 2005/06/27 19:55:48 1.6 @@ -1,9 +1,9 @@ /* - * CPU_emulcycle.i - SC 6510/6502 emulation core (body of + * CPU_emulcycle.h - SC 6510/6502 emulation core (body of * EmulateCycle() function, the same for * both 6510 and 6502) * - * Frodo (C) 1994-1997,2002 Christian Bauer + * Frodo (C) 1994-1997,2002-2005 Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -1071,7 +1071,7 @@ v_flag = (data ^ a) & 0x40; if ((data & 0x0f) + (data & 0x01) > 5) a = a & 0xf0 | (a + 6) & 0x0f; - if (c_flag = ((data + (data & 0x10)) & 0x1f0) > 0x50) + if ((c_flag = ((data + (data & 0x10)) & 0x1f0) > 0x50) != 0) a += 0x60; } Last;