mirror of https://github.com/mgba-emu/mgba.git
GBA Memory: Fix build
This commit is contained in:
parent
6580130914
commit
1ab6d36fa2
|
@ -102,7 +102,7 @@ void GBAMemoryDeinit(struct GBA* gba) {
|
|||
}
|
||||
|
||||
void GBAMemoryReset(struct GBA* gba) {
|
||||
if (gba->memory.rom || gb->fullBios) {
|
||||
if (gba->memory.rom || gba->memory.fullBios) {
|
||||
// Not multiboot
|
||||
if (gba->memory.wram) {
|
||||
mappedMemoryFree(gba->memory.wram, SIZE_WORKING_RAM);
|
||||
|
|
Loading…
Reference in New Issue