Wii: Fix crash on unloading irregularly sized GBA ROMs
Vicki Pfau vi@endrift.com
Wed, 18 Nov 2020 18:36:19 -0800
2 files changed,
2 insertions(+),
1 deletions(-)
M
CHANGES
→
CHANGES
@@ -62,6 +62,7 @@ - Qt: Fix game display sometimes disappearing after closing load/save state screen
- Qt: Fix cancelling pausing before the frame ends - SM83: Simplify register pair access on big endian - SM83: Disassemble STOP as one byte + - Wii: Fix crash on unloading irregularly sized GBA ROMs Misc: - 3DS: Use "wide mode" where applicable for slightly better filtering - Core: Add savedataUpdated callback
M
src/gba/gba.c
→
src/gba/gba.c
@@ -130,7 +130,7 @@ if (gba->memory.rom && !gba->isPristine) {
if (gba->yankedRomSize) { gba->yankedRomSize = 0; } -#if !defined(FIXED_ROM_BUFFER) && !defined(__wii__) +#ifndef FIXED_ROM_BUFFER mappedMemoryFree(gba->memory.rom, SIZE_CART0); #endif }