X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2F16_vlpal.c;h=2f155f03a43256587a2878aa9c913be79be9d6ab;hb=d799ef823a8b57ba6c783ed323430254083158be;hp=87664c77484038fb7a92f7fbae5587d20653e909;hpb=194d511cb31136b77f3ea330c55f245cd6e09f36;p=16.git diff --git a/src/lib/16_vlpal.c b/src/lib/16_vlpal.c index 87664c77..2f155f03 100755 --- a/src/lib/16_vlpal.c +++ b/src/lib/16_vlpal.c @@ -30,61 +30,35 @@ void modexchkcolor(imgtestpal_t *bmp, word *q, word *a, word *aa, word *z, word word zz=0; pal = modexNewPal(); modexPalSave(pal); -#ifdef BEVERBOSEPALCHECK - printf("q: %02d\n", (*q));// - - printf("chkcolor start~\n"); - printf("1 (*z): %d\n", (*z)/3); - printf("1 (*i): %d\n", (*i)/3); - printf("1 offset of color in palette (*q): %d\n", (*q)/3);// - printf("wwwwwwwwwwwwwwww\n"); -#endif + CHKCOLDBGOUT1 //check palette for dups - for(; (*z)0)&&((*i)-q)%3==0 && (p[((*i)-q)]==p[((*i)-q)+3] && p[((*i)-q)+1]==p[((*i)-q)+4] && p[((*i)-q)+2]==p[((*i)-q)+5])) outp(PAL_DATA_REG, p[(*i)-q]); else