Fix initial DMA count
Jeffrey Pfau jeffrey@endrift.com
Thu, 23 Jan 2014 20:55:11 -0800
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/gba/gba-memory.c
→
src/gba/gba-memory.c
@@ -42,6 +42,7 @@ memset(memory->io, 0, sizeof(memory->io));
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;