diff tools/gfxconv.c @ 1730:881a3fc421d8

Use the default C64 palette whenever we need it, but make it possible to override it.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 08 Jun 2018 22:03:19 +0300
parents 55db8d6dffa5
children 5e928618fdc8
line wrap: on
line diff
--- a/tools/gfxconv.c	Thu Jun 07 15:54:19 2018 +0300
+++ b/tools/gfxconv.c	Fri Jun 08 22:03:19 2018 +0300
@@ -1791,7 +1791,6 @@
                             goto error;
                         }
 
-                        dmSetDefaultC64Palette(outImage);
                         res = dmWriteImage(optOutFilename, outImage, &optSpec, optOutSubFormat, TRUE);
                         break;
 
@@ -1814,7 +1813,6 @@
                             goto error;
                         }
 
-                        dmSetDefaultC64Palette(outImage);
                         res = dmWriteSpritesAndChars(optOutFilename, outImage, optOutFormat, optInMulticolor);
                         break;