From: sparky4 Date: Sat, 11 Nov 2017 22:36:43 +0000 (-0600) Subject: made iq=(*i)-q X-Git-Url: http://4ch.mooo.com/gitweb/?p=16.git;a=commitdiff_plain;h=ce1c7884eb2b6e2e3b468a7f661abd2962a15122 made iq=(*i)-q --- 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)