all repos — mgba @ b02fba9d28ee22fb0c8a2d9aa6488c7319b5c401

mGBA Game Boy Advance Emulator

GBA Memory: Fix instability on Wii when using AGBPrint
Vicki Pfau vi@endrift.com
Mon, 03 Aug 2020 15:44:05 -0700
commit

b02fba9d28ee22fb0c8a2d9aa6488c7319b5c401

parent

5caf256631945a8afd679b5ecb742ec50958a2dd

2 files changed, 3 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

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