add support for forced-blank. fixing spurious colors during screen transitions in Picross 3D.

I thought I had already fixed that, but it was stuck in the long-dead jit branch, so, here it is, back from the dead.
This commit is contained in:
StapleButter 2018-11-24 21:10:26 +01:00
parent 46d5a31275
commit 3f8befaf4e
1 changed files with 9 additions and 0 deletions

View File

@ -538,6 +538,15 @@ void GPU2D::DrawScanline(u32 line)
return;
}
// forced blank
// (checkme: are there still things that can run under this mode? likely not)
if (DispCnt & (1<<7))
{
for (int i = 0; i < 256; i++)
dst[i] = 0xFFFFFFFF;
return;
}
u32 dispmode = DispCnt >> 16;
dispmode &= (Num ? 0x1 : 0x3);