GB Memory: Fix HDMA5 value after DMA completes

This commit is contained in:
Jeffrey Pfau 2016-12-23 16:40:50 -08:00
parent 9d54e242e3
commit 2bd8dd2fa2
2 changed files with 2 additions and 1 deletions

View File

@ -41,6 +41,7 @@ Bugfixes:
- Qt: Fix Apply button for key and controller configurations
- GB Video: Initialize LCDC in renderer
- GBA I/O: Mask off WAITCNT bits that cannot be written
- GB Memory: Fix HDMA5 value after DMA completes
Misc:
- SDL: Remove scancode key input
- GBA Video: Clean up unused timers

View File

@ -437,7 +437,7 @@ void _GBMemoryHDMAService(struct GB* gb) {
gb->memory.isHdma = false;
}
} else {
gb->memory.io[REG_HDMA5] |= 0x80;
gb->memory.io[REG_HDMA5] = 0xFF;
}
}
}