From ce1c7884eb2b6e2e3b468a7f661abd2962a15122 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Sat, 11 Nov 2017 16:36:43 -0600 Subject: [PATCH] made iq=(*i)-q --- src/lib/16_vlpal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/16_vlpal.c b/src/lib/16_vlpal.c index ce3ecaa1..69117180 100755 --- a/src/lib/16_vlpal.c +++ b/src/lib/16_vlpal.c @@ -125,9 +125,9 @@ VL_palette(imgtestpal_t *bmp, byte *p, word *i, word qp, word aqoffset, word *ap printf("qq: %02d\n", (qq));// printf(" (*i)-q=%02d\n", (*i)-q);// #endif - iq=(*i)-q; outp(PAL_WRITE_REG, qq); /* start at the beginning of palette */ } + iq=(*i)-q; if((*i)