comparison tools/lib64fmts.c @ 2178:e1b7c021db8a

Default the Crest Super Hires FLI background to 0x0F for the unused bottom area. Not sure if this is correct, to be checked.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 12 Jun 2019 17:19:07 +0300
parents 5b22533cb07d
children 6ba6ca5632d2
comparison
equal deleted inserted replaced
2177:7d75e40dc0bc 2178:e1b7c021db8a
1274 const int nbank = rasterY & 7; 1274 const int nbank = rasterY & 7;
1275 int res; 1275 int res;
1276 1276
1277 if (rasterY / 8 >= img->fmt->chHeight) 1277 if (rasterY / 8 >= img->fmt->chHeight)
1278 { 1278 {
1279 *col = img->bgcolor; 1279 *col = 0x0f;
1280 return DMERR_OK; 1280 return DMERR_OK;
1281 } 1281 }
1282 1282
1283 if (rasterY >= sprOffsetY && 1283 if (rasterY >= sprOffsetY &&
1284 rasterX >= sprOffsetX && 1284 rasterX >= sprOffsetX &&