GBA: Initialize uninitialized pristineRom and pristineRomSize members
Jeffrey Pfau jeffrey@endrift.com
Tue, 10 Nov 2015 22:37:23 -0800
2 files changed,
4 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -22,6 +22,7 @@ - GBA BIOS: Fix CpuSet on 0x01XXXXXX addresses
- 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
M
src/gba/gba.c
→
src/gba/gba.c
@@ -103,6 +103,9 @@ gba->realisticTiming = true;
gba->hardCrash = true; gba->performingDMA = false; + + gba->pristineRom = 0; + gba->pristineRomSize = 0; } void GBAUnloadROM(struct GBA* gba) {