mirror of https://github.com/mgba-emu/mgba.git
GBA: Fix resetting key IRQ state (fixes #2716)
This commit is contained in:
parent
20c16bc8e7
commit
4914954c67
1
CHANGES
1
CHANGES
|
@ -1,6 +1,7 @@
|
|||
0.10.1: (Future)
|
||||
Emulation fixes:
|
||||
- GB Serialize: Don't write BGP/OBP when loading SCGB state (fixes mgba.io/i/2694)
|
||||
- GBA: Fix resetting key IRQ state (fixes mgba.io/i/2716)
|
||||
- GBA Video: Ignore disabled backgrounds as OBJ blend target (fixes mgba.io/i/2489)
|
||||
Other fixes:
|
||||
- Qt: Manually split filename to avoid overzealous splitting (fixes mgba.io/i/2681)
|
||||
|
|
|
@ -213,6 +213,7 @@ void GBAReset(struct ARMCore* cpu) {
|
|||
gba->earlyExit = false;
|
||||
gba->dmaPC = 0;
|
||||
gba->biosStall = 0;
|
||||
gba->keysLast = 0x400;
|
||||
if (gba->yankedRomSize) {
|
||||
gba->memory.romSize = gba->yankedRomSize;
|
||||
gba->memory.romMask = toPow2(gba->memory.romSize) - 1;
|
||||
|
|
Loading…
Reference in New Issue