all repos — mgba @ 11035f5a778d92bdbbc07c1302fde03353f2b7ee

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

11035f5a778d92bdbbc07c1302fde03353f2b7ee

parent

48e2c099dc7f7ce720941f8779b3bc8a2cc4f295

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

jump to
M CHANGESCHANGES

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