Fix read/write 0x0400020A
Jeffrey Pfau jeffrey@endrift.com
Sat, 20 Jul 2013 01:40:17 -0700
1 files changed,
6 insertions(+),
0 deletions(-)
jump to
M
src/gba/gba-io.c
→
src/gba/gba-io.c
@@ -109,6 +109,9 @@ break;
case REG_IME: GBAWriteIME(gba, value); break; + case 0x20A: + // Some bad interrupt libraries will write to this + break; default: GBALog(GBA_LOG_STUB, "Stub I/O register write: %03x", address); break;@@ -208,6 +211,9 @@ case REG_IF:
case REG_WAITCNT: case REG_IME: // Handled transparently by registers + break; + case 0x20A: + // Some bad interrupt libraries will read from this break; default: GBALog(GBA_LOG_STUB, "Stub I/O register read: %03x", address);