all repos — mgba @ 85e789c3e9a155a259bf0387e128d17eff58bc7e

mGBA Game Boy Advance Emulator

GB Memory: Initialize sram
Jeffrey Pfau jeffrey@endrift.com
Sun, 14 Feb 2016 23:07:44 -0800
commit

85e789c3e9a155a259bf0387e128d17eff58bc7e

parent

ddc2932c9520a52a2f4957ba04657472ad9ed360

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

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

@@ -50,6 +50,7 @@ gb->memory.wramBank = 0;

gb->memory.rom = 0; gb->memory.romBank = 0; gb->memory.romSize = 0; + gb->memory.sram = 0; gb->memory.mbcType = GB_MBC_NONE; gb->memory.mbc = 0;