all repos — mgba @ c63b1f27047fb178f15fa043fbf43b8915d09714

mGBA Game Boy Advance Emulator

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
commit

c63b1f27047fb178f15fa043fbf43b8915d09714

parent

76f33ef8660172cdaf54d28fca0612592797b178

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

jump to
M CHANGESCHANGES

@@ -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.csrc/gba/io.c

@@ -530,6 +530,7 @@ break;

// Interrupts and misc case REG_WAITCNT: + value &= 0x5FFF; GBAAdjustWaitstates(gba, value); break; case REG_IE: