mirror of https://github.com/mgba-emu/mgba.git
GBA I/O: Ignore high bits on IME
This commit is contained in:
parent
c640819179
commit
54fba4c461
1
CHANGES
1
CHANGES
|
@ -32,6 +32,7 @@ Emulation fixes:
|
|||
- GBA DMA: Linger last DMA on bus (fixes mgba.io/i/301 and mgba.io/i/1320)
|
||||
- GBA DMA: Fix ordering and timing of overlapping DMAs
|
||||
- GBA I/O: Green swap register should be readable
|
||||
- GBA I/O: Ignore high bits on IME
|
||||
- GBA Memory: Improve gamepak prefetch timing
|
||||
- GBA Memory: Stall on VRAM access in mode 2 (fixes mgba.io/i/190)
|
||||
- GBA Memory: Improve robustness of Matrix memory support
|
||||
|
|
|
@ -557,7 +557,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