GB Memory: Fix HDMA5 value after DMA completes
Jeffrey Pfau jeffrey@endrift.com
Fri, 23 Dec 2016 16:40:50 -0800
2 files changed,
2 insertions(+),
1 deletions(-)
M
CHANGES
→
CHANGES
@@ -41,6 +41,7 @@ - GB: Properly initialize sramRealVf variable
- 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
M
src/gb/memory.c
→
src/gb/memory.c
@@ -437,7 +437,7 @@ if (gb->memory.io[REG_HDMA5] == 0xFF) {
gb->memory.isHdma = false; } } else { - gb->memory.io[REG_HDMA5] |= 0x80; + gb->memory.io[REG_HDMA5] = 0xFF; } } }