mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 23:37:46 -04:00
some support for vdp debug reg
This commit is contained in:
parent
1a08dec0e0
commit
e0bcb7a90d
11 changed files with 160 additions and 69 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue