Run Vblank and Hblank DMAs
Jeffrey Pfau jeffrey@endrift.com
Thu, 25 Apr 2013 01:50:28 -0700
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/gba/gba-video.c
→
src/gba/gba-video.c
@@ -73,7 +73,7 @@ case VIDEO_VERTICAL_PIXELS:
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 @@ video->nextHblank = video->nextEvent + VIDEO_HDRAW_LENGTH;
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);