GBA Memory: Fix DMA cycle counting

This commit is contained in:
Jeffrey Pfau 2014-12-09 17:04:48 -08:00
parent c5cf9957a1
commit 63a439406c
1 changed files with 1 additions and 1 deletions

View File

@ -1106,7 +1106,7 @@ void GBAMemoryServiceDMA(struct GBA* gba, int number, struct GBADMA* info) {
uint32_t dest = info->nextDest;
uint32_t sourceRegion = source >> BASE_OFFSET;
uint32_t destRegion = dest >> BASE_OFFSET;
int32_t cycles = 0;
int32_t cycles = 2;
if (source == info->source) {
// TODO: support 4 cycles for ROM access