mirror of https://github.com/mgba-emu/mgba.git
GB Memory: Initialize sram
This commit is contained in:
parent
ddc2932c95
commit
85e789c3e9
|
@ -50,6 +50,7 @@ void GBMemoryInit(struct GB* gb) {
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue