--- Frodo4/Src/CPU_emulcycle.h 2003/07/01 17:51:17 1.3 +++ Frodo4/Src/CPU_emulcycle.h 2005/06/27 19:55:48 1.6 @@ -3,7 +3,7 @@ * EmulateCycle() function, the same for * both 6510 and 6502) * - * Frodo (C) 1994-1997,2002-2003 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;