fix DrawSpritesHiAS

This commit is contained in:
notaz 2018-01-27 23:46:37 +02:00
parent 6e05b76b6a
commit ee3c39efd2
3 changed files with 111 additions and 94 deletions

View file

@ -223,10 +223,6 @@ static void do_pal_update(int allow_sh, int allow_as)
localPal[0xe0] = 0;
localPal[0xf0] = 0x001f;
}
else if (allow_as && (Pico.est.rendstatus & PDRAW_SPR_LO_ON_HI))
{
memcpy(dpal + 0x80/2, localPal, 0x40*2);
}
}
static void do_slowmode_lines(int line_to)
@ -250,7 +246,7 @@ static void EmuScanPrepare(void)
if (Pico.m.dirtyPal)
do_pal_update(1, 1);
if ((Pico.est.rendstatus & PDRAW_SPR_LO_ON_HI) && !(Pico.video.reg[0xC]&8))
if (!(Pico.video.reg[0xC] & 8))
amips_clut_f = amips_clut_6bit;
else amips_clut_f = amips_clut;
}