--- Frodo4/Src/VIC_SC.cpp 2003/07/01 17:51:17 1.2 +++ Frodo4/Src/VIC_SC.cpp 2005/06/27 19:55:48 1.5 @@ -1,7 +1,7 @@ /* * VIC_SC.cpp - 6569R5 emulation (cycle based) * - * 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 @@ -317,14 +317,14 @@ void MOS6569::ReInitColors(void) // Build inverse color table. uint8 xlate_colors[256]; memset(xlate_colors, 0, sizeof(xlate_colors)); - for (i = 0; i < 16; i++) + for (i=0; i<16; i++) xlate_colors[colors[i]] = i; // Get the new colors. the_display->InitColors(colors); // Build color translation table. - for (i = 0; i < 256; i++) + for (i=0; i<256; i++) xlate_colors[i] = colors[xlate_colors[i]]; // Translate all the old colors variables. @@ -335,7 +335,7 @@ void MOS6569::ReInitColors(void) b3c_color = colors[b3c]; mm0_color = colors[mm0]; mm1_color = colors[mm1]; - for (i = 0; i < 8; i++) + for (i=0; i<8; i++) spr_color[i] = colors[sc[i]]; // Translate the border color sample buffer. @@ -344,8 +344,8 @@ void MOS6569::ReInitColors(void) // Translate the chunky buffer. uint8 *scanline = the_display->BitmapBase(); - for (int y = 0; y < DISPLAY_Y; y++) { - for (int x = 0; x < DISPLAY_X; x++) + for (int y=0; y