all repos — mgba @ 2def7289f3cb02c3a3edc51e26ce3f634033e264

mGBA Game Boy Advance Emulator

Wii: Fix crash on unloading irregularly sized GBA ROMs
Vicki Pfau vi@endrift.com
Wed, 18 Nov 2020 18:36:19 -0800
commit

2def7289f3cb02c3a3edc51e26ce3f634033e264

parent

43bc47742f5c642559d259d461cd16278f89e604

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

jump to
M CHANGESCHANGES

@@ -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.csrc/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 }