comparison tools/lib64fmts.c @ 1547:fa4fa9a6e78f

Remove encode stub function, it's not used now.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 12 May 2018 21:02:42 +0300
parents 3b613fcbf3ff
children 86373ac0861a
comparison
equal deleted inserted replaced
1546:228e71d66089 1547:fa4fa9a6e78f
475 else 475 else
476 return img->screen[vbank][scroffs] & 15; 476 return img->screen[vbank][scroffs] & 15;
477 } 477 }
478 478
479 479
480 static int fmtEncodeStub(DMGrowBuf *buf, const DMC64Image *img, const DMC64ImageFormat *fmt)
481 {
482 (void) buf;
483 (void) img;
484 (void) fmt;
485
486 return dmError(DMERR_NOT_SUPPORTED,
487 "Encoding of '%s' format not supported.\n",
488 fmt->name);
489 }
490
491
492 // 480 //
493 // Array with data for supported formats 481 // Array with data for supported formats
494 // 482 //
495 #define DEF_SCREEN_RAM(start, oindex, bindex, osize) { DT_SCREEN_RAM, (start) + ((osize) * (oindex)), (bindex), 0, NULL, NULL } 483 #define DEF_SCREEN_RAM(start, oindex, bindex, osize) { DT_SCREEN_RAM, (start) + ((osize) * (oindex)), (bindex), 0, NULL, NULL }
496 #define DEF_SCREEN_RAMS_8(start, sindex, osize) \ 484 #define DEF_SCREEN_RAMS_8(start, sindex, osize) \