X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fmode4.c;h=bda1188802a8bf9cf7eb40c8f0a52af0d3b51381;hb=e0bcb7a90d06b295b1ca989b6ad70412912cca5b;hp=4abace6b7c0ef120a0f6836d322cbaba6375fbda;hpb=1a08dec0e0d3667556ce61307d055b8d19a02034;p=picodrive.git diff --git a/pico/mode4.c b/pico/mode4.c index 4abace6..bda1188 100644 --- a/pico/mode4.c +++ b/pico/mode4.c @@ -179,15 +179,15 @@ static void DrawDisplayM4(int scanline) dx += cellskip << 3; // low priority tiles - if (PicoDrawMask & PDRAW_LAYERB_ON) + if (!(pv->debug_p & PVD_KILL_B)) draw_strip(nametab, dx, cells, tilex | 0x0000 | (ty << 16)); // sprites - if (PicoDrawMask & PDRAW_SPRITES_LOW_ON) + if (!(pv->debug_p & PVD_KILL_S_LO)) draw_sprites(scanline); // high priority tiles (use virtual layer switch just for fun) - if (PicoDrawMask & PDRAW_LAYERA_ON) + if (!(pv->debug_p & PVD_KILL_A)) draw_strip(nametab, dx, cells, tilex | 0x1000 | (ty << 16)); if (pv->reg[0] & 0x20)