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(+),
1 deletions(-)
M
CHANGES
→
CHANGES
@@ -7,7 +7,6 @@ - GB Memory: Fix OAM DMA from top 8 kB
- GB MBC: Fix MBC1 RAM enable bit selection - GB MBC: Fix MBC2 bit selection - GB Video: Always initialize palette - - GBA BIOS: Fix reloading video registers after reset (fixes mgba.io/i/1808) - GBA Savedata: Fix potential corruption when loading a 1Mbit flash save - GBA Video: Fix invalid read in mode 4 mosaic - GBA Video: Fix color of disabled screen@@ -21,6 +20,7 @@ - CMake: Fix build with libzip 1.7
- CMake: Add missing dllexports.h file to dev installation - 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: Fix file handle leak on opening an invalid ROM - Qt: Fix Italian RTC translation (fixes mgba.io/i/1798)
M
src/gba/gba.c
→
src/gba/gba.c
@@ -132,7 +132,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) {