GBA I/O: Mask off WAITCNT bits that cannot be written (fixes #457)
Jeffrey Pfau jeffrey@endrift.com
Fri, 23 Dec 2016 15:41:11 -0800
2 files changed,
2 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -29,6 +29,7 @@ - GB Audio: Fix serialization of channel 3 and NR52 properties
- 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 Misc: - PSP2: Improved controller rumble - GB, GBA: Prevent loading null ROMs
M
src/gba/io.c
→
src/gba/io.c
@@ -530,6 +530,7 @@ break;
// Interrupts and misc case REG_WAITCNT: + value &= 0x5FFF; GBAAdjustWaitstates(gba, value); break; case REG_IE: