GB: Fix crash when masking savedata
Jeffrey Pfau jeffrey@endrift.com
Mon, 19 Dec 2016 18:47:20 -0800
2 files changed,
2 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -35,6 +35,7 @@ - GBA: Add savegame override for Crash Bandicoot 2
- ARM7: PSR mode bits should not get sign extended - GBA: Only unhalt CPU if appropriate bit is set in IE - GBA Video: Fix out of bounds sprite transforms + - GB: Fix crash when masking savedata Misc: - SDL: Remove scancode key input - GBA Video: Clean up unused timers
M
src/gb/gb.c
→
src/gb/gb.c
@@ -225,6 +225,7 @@ GBSramDeinit(gb);
gb->sramVf = vf; gb->sramMaskWriteback = writeback; gb->memory.sram = vf->map(vf, gb->sramSize, MAP_READ); + GBMBCSwitchSramBank(gb, gb->memory.sramCurrentBank); } void GBSavedataUnmask(struct GB* gb) {