mirror of https://github.com/mgba-emu/mgba.git
GBA I/O: Ignore high bits on IME
This commit is contained in:
parent
2622a1a163
commit
535f35055d
1
CHANGES
1
CHANGES
|
@ -1,6 +1,7 @@
|
|||
0.8.5: (Future)
|
||||
Emulation fixes:
|
||||
- ARM: Fix Addressing mode 1 shifter on rs == pc (fixes mgba.io/i/1926)
|
||||
- GBA I/O: Ignore high bits on IME
|
||||
- GBA Memory: Mark Famicom Mini games 22 through 28 as non-mirroring
|
||||
Other fixes:
|
||||
- CMake: Fix build with downstream minizip that exports incompatible symbols
|
||||
|
|
|
@ -556,7 +556,7 @@ void GBAIOWrite(struct GBA* gba, uint32_t address, uint16_t value) {
|
|||
GBATestIRQ(gba, 1);
|
||||
return;
|
||||
case REG_IME:
|
||||
gba->memory.io[REG_IME >> 1] = value;
|
||||
gba->memory.io[REG_IME >> 1] = value & 1;
|
||||
GBATestIRQ(gba, 1);
|
||||
return;
|
||||
case REG_MAX:
|
||||
|
|
Loading…
Reference in New Issue