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
@@ -40,6 +40,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: - SDL: Remove scancode key input - GBA Video: Clean up unused timers
M
src/gba/io.c
→
src/gba/io.c
@@ -535,6 +535,7 @@ break;
// Interrupts and misc case REG_WAITCNT: + value &= 0x5FFF; GBAAdjustWaitstates(gba, value); break; case REG_IE: