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:
parent
46d5a31275
commit
3f8befaf4e
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue