diff --git a/CHANGES b/CHANGES index 7e855cb6c..4ff6071e7 100644 --- a/CHANGES +++ b/CHANGES @@ -8,6 +8,7 @@ Other fixes: - Core: Fix thread unsafety issue when dispatching code to a thread - Debugger: Close trace log when done tracing - Qt: Fix running proxied video if it gets pushed to the main thread + - Wii: Fix crash on unloading irregularly sized GBA ROMs 0.8.4: (2020-10-29) Emulation fixes: diff --git a/src/gba/gba.c b/src/gba/gba.c index 07043c8eb..35eca8a4e 100644 --- a/src/gba/gba.c +++ b/src/gba/gba.c @@ -132,7 +132,7 @@ void GBAUnloadROM(struct GBA* gba) { if (gba->yankedRomSize) { gba->yankedRomSize = 0; } -#if !defined(FIXED_ROM_BUFFER) && !defined(__wii__) +#ifndef FIXED_ROM_BUFFER mappedMemoryFree(gba->memory.rom, SIZE_CART0); #endif }