From cea8109c06aa6ccf20915e65d85de0e2c4445362 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Thu, 25 Apr 2013 01:50:28 -0700 Subject: [PATCH] Run Vblank and Hblank DMAs --- src/gba/gba-video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gba/gba-video.c b/src/gba/gba-video.c index 6067f0085..4ba717af5 100644 --- a/src/gba/gba-video.c +++ b/src/gba/gba-video.c @@ -73,7 +73,7 @@ int32_t GBAVideoProcessEvents(struct GBAVideo* video, int32_t cycles) { video->inVblank = 1; video->renderer->finishFrame(video->renderer); video->nextVblankIRQ = video->nextEvent + VIDEO_TOTAL_LENGTH; - //video->cpu.mmu.runVblankDmas(); + GBAMemoryRunVblankDMAs(&video->p->memory); if (video->vblankIRQ) { GBARaiseIRQ(video->p, IRQ_VBLANK); } @@ -106,7 +106,7 @@ int32_t GBAVideoProcessEvents(struct GBAVideo* video, int32_t cycles) { video->nextHblankIRQ = video->nextHblank; if (video->vcount < VIDEO_VERTICAL_PIXELS) { - //video->cpu.mmu.runHblankDmas(); + GBAMemoryRunHblankDMAs(&video->p->memory); } if (video->hblankIRQ) { GBARaiseIRQ(video->p, IRQ_HBLANK);