aboutsummaryrefslogtreecommitdiff
path: root/src/GPU.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/GPU.cpp')
-rw-r--r--src/GPU.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/GPU.cpp b/src/GPU.cpp
index 5b9bf33..0e11af8 100644
--- a/src/GPU.cpp
+++ b/src/GPU.cpp
@@ -692,6 +692,12 @@ void StartScanline(u32 line)
// (TODO, eventually: emulate it properly)
NDS::CheckDMAs(0, 0x04);
+ if (line == 0)
+ {
+ GPU2D_A->VBlankEnd();
+ GPU2D_B->VBlankEnd();
+ }
+
// draw
GPU2D_A->DrawScanline(line);
GPU2D_B->DrawScanline(line);