comparison tools/gfxconv.c @ 2237:26f1bae40fb6

s/nbanks/nblocks/g
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 15 Jun 2019 06:26:07 +0300
parents 57ccd949093f
children 65a2c2e99c81
comparison
equal deleted inserted replaced
2236:57ccd949093f 2237:26f1bae40fb6
1300 } 1300 }
1301 1301
1302 if ((dst->fmt->type & D64_FMT_FLI) && (src->fmt->type & D64_FMT_FLI) == 0) 1302 if ((dst->fmt->type & D64_FMT_FLI) && (src->fmt->type & D64_FMT_FLI) == 0)
1303 { 1303 {
1304 dmMsg(1, "Upconverting multicolor to FLI.\n"); 1304 dmMsg(1, "Upconverting multicolor to FLI.\n");
1305 for (int i = 0; i < dst->nbanks; i++) 1305 for (int i = 0; i < dst->nblocks; i++)
1306 { 1306 {
1307 if (dst->color[i].data == NULL) 1307 if (dst->color[i].data == NULL)
1308 dmC64MemBlockCopy(&dst->color[i], &src->color[0]); 1308 dmC64MemBlockCopy(&dst->color[i], &src->color[0]);
1309 1309
1310 if (dst->screen[i].data == NULL) 1310 if (dst->screen[i].data == NULL)