GB Memory: Fix HDMA5 value after DMA completes

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

View File

@ -30,6 +30,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:
- PSP2: Improved controller rumble
- GB, GBA: Prevent loading null ROMs

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;
}
}
}