From 709269ee5c2791ee37a41cb02ced2606002eb31e Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Thu, 23 Jan 2014 20:55:11 -0800 Subject: [PATCH] Fix initial DMA count --- src/gba/gba-memory.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gba/gba-memory.c b/src/gba/gba-memory.c index d002a87c3..84f41b8c1 100644 --- a/src/gba/gba-memory.c +++ b/src/gba/gba-memory.c @@ -42,6 +42,7 @@ void GBAMemoryInit(struct GBAMemory* memory) { memset(memory->dma, 0, sizeof(memory->dma)); int i; for (i = 0; i < 4; ++i) { + memory->dma[i].count = 0x10000; memory->dma[i].nextEvent = INT_MAX; } memory->activeDMA = -1;