X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=Pico%2Fcd%2Fgfx_cd.c;h=02072c3c64b7306aaa6d6669eca08ef874aa60f0;hb=b06778874d140bd5187cb74444ddc40931b9bd1d;hp=630109c9c37ca2e89ecdaec6a39179cc910e19dc;hpb=eff55556cff77fd64cff4be32e449e0a58aed6fe;p=picodrive.git diff --git a/Pico/cd/gfx_cd.c b/Pico/cd/gfx_cd.c index 630109c..02072c3 100644 --- a/Pico/cd/gfx_cd.c +++ b/Pico/cd/gfx_cd.c @@ -77,7 +77,7 @@ static void gfx_completed(void) _rot_comp.Reg_64 = 0; if (Pico_mcd->s68k_regs[0x33] & (1<<1)) { - dprintf("gfx_cd irq 1"); + elprintf(EL_INTS, "gfx_cd irq 1"); SekInterruptS68k(1); } } @@ -312,7 +312,7 @@ PICO_INTERNAL void gfx_cd_update(void) _rot_comp.Float_Part &= 0xffff; _rot_comp.Float_Part += _rot_comp.Draw_Speed; - if (PicoOpt & 0x1000) // scale/rot enabled + if (PicoOpt & POPT_EN_MCD_GFX) { unsigned int func = _rot_comp.Function; unsigned int H_Dot = _rot_comp.Reg_62 & 0x1ff; @@ -447,7 +447,7 @@ PICO_INTERNAL void DmaSlowCell(unsigned int source, unsigned int a, int len, uns // AutoIncrement a=(u16)(a+inc); } - rendstatus|=0x10; + rendstatus |= PDRAW_SPRITES_MOVED; break; case 3: // cram