all repos — mgba @ 575a37fd832f457b3ac6684e37f79928dcf9da9f

mGBA Game Boy Advance Emulator

GB MBC: Fix MBC7 when size is incorrectly specified
Jeffrey Pfau jeffrey@endrift.com
Mon, 19 Sep 2016 23:54:50 -0700
commit

575a37fd832f457b3ac6684e37f79928dcf9da9f

parent

de8a59e51e71ffe52969d1c552ab270374911d5e

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

jump to
M CHANGESCHANGES

@@ -1,4 +1,6 @@

0.6.0: (Future) +Bugfixes: + - GB MBC: Fix MBC7 when size is incorrectly specified Misc: - All: Only update version info if needed
M src/gb/mbc.csrc/gb/mbc.c

@@ -139,6 +139,7 @@ gb->memory.mbc = _GBMBC6;

break; case GB_MBC7: gb->memory.mbc = _GBMBC7; + gb->sramSize = GB_SIZE_EXTERNAL_RAM; break; case GB_MMM01: mLOG(GB_MBC, WARN, "unimplemented MBC: MMM01");