From 2b22a7fe1d976bda4b8292bfb1cefd8ebdd877b4 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Tue, 6 Nov 2018 22:13:34 +0100 Subject: [PATCH] C64 pictures are 16 colors (4bpp) --- src/miscfileformats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/miscfileformats.c b/src/miscfileformats.c index 0ee159b1..3b7dde44 100644 --- a/src/miscfileformats.c +++ b/src/miscfileformats.c @@ -2564,7 +2564,7 @@ void Load_C64(T_IO_Context * context) sprintf(context->Comment+strlen(context->Comment),", no addr"); } - Pre_load(context, width, height, file_size, FORMAT_C64, context->Ratio,0); // Do this as soon as you can + Pre_load(context, width, height, file_size, FORMAT_C64, context->Ratio,4); // Do this as soon as you can memcpy(context->Palette,pal,48); // this set the software palette for grafx2 // Transparent color "16" is a dark grey that is distinguishable