all repos — mgba @ b6fc26a7bf7c99edd14605a33bba149f09c71d65

mGBA Game Boy Advance Emulator

GB: Deinit sram
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Feb 2016 23:10:51 -0800
commit

b6fc26a7bf7c99edd14605a33bba149f09c71d65

parent

85e789c3e9a155a259bf0387e128d17eff58bc7e

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

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

@@ -124,6 +124,7 @@ }

if (gb->sramVf) { gb->sramVf->unmap(gb->sramVf, gb->memory.sram, 0x8000); + gb->sramVf = 0; } else if (gb->memory.sram) { mappedMemoryFree(gb->memory.sram, 0x8000); }