all repos — mgba @ 2bd8dd2fa299679629972e3a66c28e6004307e0c

mGBA Game Boy Advance Emulator

GB Memory: Fix HDMA5 value after DMA completes
Jeffrey Pfau jeffrey@endrift.com
Fri, 23 Dec 2016 16:40:50 -0800
commit

2bd8dd2fa299679629972e3a66c28e6004307e0c

parent

9d54e242e37d66dc010d42ff2a6aeef433ed6833

2 files changed, 2 insertions(+), 1 deletions(-)

jump to
M CHANGESCHANGES

@@ -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.csrc/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; } } }