diff tools/lib64gfx.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 80adcda72210
children 474055f25ab0
line wrap: on
line diff
--- a/tools/lib64gfx.c	Thu Jun 07 15:54:19 2018 +0300
+++ b/tools/lib64gfx.c	Fri Jun 08 22:03:19 2018 +0300
@@ -1296,6 +1296,7 @@
     // Set partial palette information
     dst->ncolors  = C64_NCOLORS;
     dst->constpal = TRUE;
+    dst->pal      = dmDefaultC64Palette;
 
     // Convert
     if (fmt->convertFrom != NULL)