all repos — mgba @ adbda8510792919e82a89a9d94902b8d66d4f8fd

mGBA Game Boy Advance Emulator

GB: Reset SRAM bank after loading save
Vicki Pfau vi@endrift.com
Sun, 16 Sep 2018 18:46:53 -0700
commit

adbda8510792919e82a89a9d94902b8d66d4f8fd

parent

4eeff830ed69a1a1207b41b94e98e8dfbe25964c

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/gb/gb.csrc/gb/gb.c

@@ -157,6 +157,7 @@ gb->sramVf = vf;

gb->sramRealVf = vf; if (gb->sramSize) { GBResizeSram(gb, gb->sramSize); + GBMBCSwitchSramBank(gb, gb->memory.sramCurrentBank); } return vf; }