mirror of https://github.com/mgba-emu/mgba.git
Fix read/write 0x0400020A
This commit is contained in:
parent
02cb9c56c5
commit
15a2e43b2b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue