mirror of https://github.com/mgba-emu/mgba.git
GBA: Initialize uninitialized pristineRom and pristineRomSize members
This commit is contained in:
parent
eee291e00e
commit
fe8c632c78
1
CHANGES
1
CHANGES
|
@ -22,6 +22,7 @@ Bugfixes:
|
|||
- GBA Memory: Fix DMA behavior for SRAM accesses
|
||||
- GBA Memory: Fix Store8 to OBJ VRAM
|
||||
- GBA Memory: Fix alignment of LDM/STM on SRAM
|
||||
- GBA: Initialize uninitialized pristineRom and pristineRomSize members
|
||||
Misc:
|
||||
- Qt: Window size command line options are now supported
|
||||
- Qt: Increase usability of key mapper
|
||||
|
|
|
@ -103,6 +103,9 @@ static void GBAInit(struct ARMCore* cpu, struct ARMComponent* component) {
|
|||
gba->hardCrash = true;
|
||||
|
||||
gba->performingDMA = false;
|
||||
|
||||
gba->pristineRom = 0;
|
||||
gba->pristineRomSize = 0;
|
||||
}
|
||||
|
||||
void GBAUnloadROM(struct GBA* gba) {
|
||||
|
|
Loading…
Reference in New Issue