all repos — mgba @ 7286a5247ff223c810972a7d2a9a1c3c5bf24673

mGBA Game Boy Advance Emulator

GBA: Initialize uninitialized pristineRom and pristineRomSize members
Jeffrey Pfau jeffrey@endrift.com
Tue, 10 Nov 2015 22:37:23 -0800
commit

7286a5247ff223c810972a7d2a9a1c3c5bf24673

parent

da3198ff2a1b8b638f5280514c1b33d40a861016

2 files changed, 4 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -12,6 +12,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: - GBA Audio: Implement missing flags on SOUNDCNT_X register
M src/gba/gba.csrc/gba/gba.c

@@ -93,6 +93,9 @@ gba->realisticTiming = true;

gba->hardCrash = true; gba->performingDMA = false; + + gba->pristineRom = 0; + gba->pristineRomSize = 0; } void GBAUnloadROM(struct GBA* gba) {