From 6906df95e28cd08dac54def70704ac4775c5dbcb Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Wed, 9 Oct 2013 01:09:09 -0700 Subject: [PATCH] VCOUNT is not properly reset on wrap --- src/gba/gba-video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gba/gba-video.c b/src/gba/gba-video.c index e8f586458..4268f5977 100644 --- a/src/gba/gba-video.c +++ b/src/gba/gba-video.c @@ -95,7 +95,7 @@ int32_t GBAVideoProcessEvents(struct GBAVideo* video, int32_t cycles) { break; case VIDEO_VERTICAL_TOTAL_PIXELS: video->vcount = 0; - //video->renderPath.startDraw(); + video->p->memory.io[REG_VCOUNT >> 1] = 0; break; }