GBA Memory: Fix instability on Wii when using AGBPrint
Vicki Pfau vi@endrift.com
Mon, 03 Aug 2020 15:44:05 -0700
2 files changed,
3 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -46,6 +46,7 @@ - FFmpeg: Fix some small memory leaks
- FFmpeg: Fix encoding of time base - GB Core: Fix extracting SRAM when none is present - GBA: Fix leak if attempting to load BIOS multiple times + - GBA Memory: Fix instability on Wii when using AGBPrint - GBA Savedata: Fix extracting save when not yet configured in-game - Qt: Force OpenGL paint engine creation thread (fixes mgba.io/i/1642) - Qt: Fix static compilation in MinGW (fixes mgba.io/i/1769)
M
src/gba/gba.c
→
src/gba/gba.c
@@ -130,7 +130,9 @@ if (gba->memory.rom && !gba->isPristine) {
if (gba->yankedRomSize) { gba->yankedRomSize = 0; } +#if !defined(FIXED_ROM_BUFFER) && !defined(__wii__) mappedMemoryFree(gba->memory.rom, SIZE_CART0); +#endif } if (gba->romVf) {