diff --git a/src/gba/gba-io.c b/src/gba/gba-io.c index c4e4cec85..fd71587d7 100644 --- a/src/gba/gba-io.c +++ b/src/gba/gba-io.c @@ -109,6 +109,9 @@ void GBAIOWrite(struct GBA* gba, uint32_t address, uint16_t value) { 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; @@ -209,6 +212,9 @@ uint16_t GBAIORead(struct GBA* gba, uint32_t address) { 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); break;