mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
32x, add support for h32 mode rendering
This commit is contained in:
parent
23cd73bc8f
commit
52e4a905c8
6 changed files with 79 additions and 31 deletions
|
@ -230,7 +230,6 @@ static void p32x_start_blank(void)
|
|||
|
||||
// XXX: no proper handling of 32col mode..
|
||||
if ((Pico32x.vdp_regs[0] & P32XV_Mx) != 0 && // 32x not blanking
|
||||
(Pico.video.reg[12] & 1) && // 40col mode
|
||||
(!(Pico.video.debug_p & PVD_KILL_32X)))
|
||||
{
|
||||
int md_bg = Pico.video.reg[7] & 0x3f;
|
||||
|
@ -238,7 +237,7 @@ static void p32x_start_blank(void)
|
|||
// we draw full layer (not line-by-line)
|
||||
PicoDraw32xLayer(offs, lines, md_bg);
|
||||
}
|
||||
else if (Pico32xDrawMode != PDM32X_32X_ONLY)
|
||||
else if (Pico32xDrawMode == PDM32X_BOTH)
|
||||
PicoDraw32xLayerMdOnly(offs, lines);
|
||||
|
||||
pprof_end(draw);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue