X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_vlpal.c;h=eb3fb4027ef156c55a46cf7f613ab30223092c5f;hb=04fe364b1c5b4fdddca823044c2d584531691af6;hp=ce3ecaa13d178e290ec08c26c7dae3a0b58d7eae;hpb=8a2cf4fec36d635b38c6f57711fcbc70e3e917da;p=16.git diff --git a/src/lib/16_vlpal.c b/src/lib/16_vlpal.c index ce3ecaa1..eb3fb402 100755 --- a/src/lib/16_vlpal.c +++ b/src/lib/16_vlpal.c @@ -1,5 +1,5 @@ /* Project 16 Source Code~ - * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover + * Copyright (C) 2012-2021 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover * * This file is part of Project 16. * @@ -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)