comparison tools/lib64fmts.c @ 2302:7c26b5f86ff7

Cosmetic.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 08 Jul 2019 08:58:31 +0300
parents d71185584d95
children e798a41f27a5
comparison
equal deleted inserted replaced
2301:d71185584d95 2302:7c26b5f86ff7
940 static int fmtGetPixelFlinterlazer(Uint8 *col, 940 static int fmtGetPixelFlinterlazer(Uint8 *col,
941 const DMC64Image *img, const int rasterX, const int rasterY) 941 const DMC64Image *img, const int rasterX, const int rasterY)
942 { 942 {
943 DM_C64_GENERIC_MC_PIXEL_DEFS(img) 943 DM_C64_GENERIC_MC_PIXEL_DEFS(img)
944 const int vbank = rasterY & 7; 944 const int vbank = rasterY & 7;
945 Uint8 color1, color2, bgcol = img->bgcolor;
945 int res; 946 int res;
946 Uint8 color1, color2, bgcol = img->bgcolor;
947 947
948 if ((res = dmC64GetGenericMCPixel(&color1, img, bmoffs, scroffs, vshift, vbank , 0, 0, bgcol)) != DMERR_OK || 948 if ((res = dmC64GetGenericMCPixel(&color1, img, bmoffs, scroffs, vshift, vbank , 0, 0, bgcol)) != DMERR_OK ||
949 (res = dmC64GetGenericMCPixel(&color2, img, bmoffs, scroffs, vshift, vbank + 8, 1, 0, bgcol)) != DMERR_OK) 949 (res = dmC64GetGenericMCPixel(&color2, img, bmoffs, scroffs, vshift, vbank + 8, 1, 0, bgcol)) != DMERR_OK)
950 return res; 950 return res;
951 951