diff --git a/CHANGES b/CHANGES index e3e3649e4..2fed18393 100644 --- a/CHANGES +++ b/CHANGES @@ -8,6 +8,7 @@ Bugfixes: - Qt: Fix build with Qt 5.11 (fixes mgba.io/i/1094) - GBA Serialize: Fix loading channel 3 volume (fixes mgba.io/i/1107) - GBA BIOS: Fix BitUnPack final byte + - GB I/O: DMA register is R/W 0.6.3: (2017-04-14) Bugfixes: diff --git a/src/gb/io.c b/src/gb/io.c index c84db0095..5a999dd7a 100644 --- a/src/gb/io.c +++ b/src/gb/io.c @@ -139,6 +139,7 @@ void GBIOReset(struct GB* gb) { GBIOWrite(gb, REG_SCY, 0x00); GBIOWrite(gb, REG_SCX, 0x00); GBIOWrite(gb, REG_LYC, 0x00); + GBIOWrite(gb, REG_DMA, 0xFF); GBIOWrite(gb, REG_BGP, 0xFC); GBIOWrite(gb, REG_OBP0, 0xFF); GBIOWrite(gb, REG_OBP1, 0xFF); @@ -530,6 +531,7 @@ uint8_t GBIORead(struct GB* gb, unsigned address) { case REG_SCX: case REG_LY: case REG_LYC: + case REG_DMA: case REG_BGP: case REG_OBP0: case REG_OBP1: