aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/GPU2D.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/GPU2D.cpp b/src/GPU2D.cpp
index 078374b..8a2eb19 100644
--- a/src/GPU2D.cpp
+++ b/src/GPU2D.cpp
@@ -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);