--- hatari/src/convert/low640x16.c 2019/04/01 07:13:52 1.1.1.6 +++ hatari/src/convert/low640x16.c 2019/04/09 08:53:31 1.1.1.9 @@ -1,8 +1,8 @@ /* Hatari - low640x16.c - This file is distributed under the GNU Public License, version 2 or at your - option any later version. Read the file gpl.txt for details. + This file is distributed under the GNU General Public License, version 2 + or at your option any later version. Read the file gpl.txt for details. Screen Conversion, Low Res to 640x16Bit */ @@ -27,32 +27,32 @@ static void Line_ConvertLowRes_640x16Bit { /* copy word */ - bScreenContentsChanged=TRUE; + bScreenContentsChanged = true; #if SDL_BYTEORDER == SDL_BIG_ENDIAN /* Plot in 'right-order' on big endian systems */ if (!bScrDoubleY) /* Double on Y? */ { /* Plot pixels */ - LOW_BUILD_PIXELS_0 ; /* Generate 'ecx' as pixels [4,5,6,7] */ + LOW_BUILD_PIXELS_0 ; /* Generate 'ecx' as pixels [12,13,14,15] */ PLOT_LOW_640_16BIT(12) ; - LOW_BUILD_PIXELS_1 ; /* Generate 'ecx' as pixels [12,13,14,15] */ + LOW_BUILD_PIXELS_1 ; /* Generate 'ecx' as pixels [4,5,6,7] */ PLOT_LOW_640_16BIT(4) ; - LOW_BUILD_PIXELS_2 ; /* Generate 'ecx' as pixels [0,1,2,3] */ + LOW_BUILD_PIXELS_2 ; /* Generate 'ecx' as pixels [8,9,10,11] */ PLOT_LOW_640_16BIT(8) ; - LOW_BUILD_PIXELS_3 ; /* Generate 'ecx' as pixels [8,9,10,11] */ + LOW_BUILD_PIXELS_3 ; /* Generate 'ecx' as pixels [0,1,2,3] */ PLOT_LOW_640_16BIT(0) ; } else { /* Plot pixels */ - LOW_BUILD_PIXELS_0 ; /* Generate 'ecx' as pixels [4,5,6,7] */ + LOW_BUILD_PIXELS_0 ; /* Generate 'ecx' as pixels [12,13,14,15] */ PLOT_LOW_640_16BIT_DOUBLE_Y(12) ; - LOW_BUILD_PIXELS_1 ; /* Generate 'ecx' as pixels [12,13,14,15] */ + LOW_BUILD_PIXELS_1 ; /* Generate 'ecx' as pixels [4,5,6,7] */ PLOT_LOW_640_16BIT_DOUBLE_Y(4) ; - LOW_BUILD_PIXELS_2 ; /* Generate 'ecx' as pixels [0,1,2,3] */ + LOW_BUILD_PIXELS_2 ; /* Generate 'ecx' as pixels [8,9,10,11] */ PLOT_LOW_640_16BIT_DOUBLE_Y(8) ; - LOW_BUILD_PIXELS_3 ; /* Generate 'ecx' as pixels [8,9,10,11] */ + LOW_BUILD_PIXELS_3 ; /* Generate 'ecx' as pixels [0,1,2,3] */ PLOT_LOW_640_16BIT_DOUBLE_Y(0) } #else