diff --git a/CHANGES b/CHANGES index 5038990fa..47863f4fe 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,6 @@ 0.5.1: (Future) +Bugfixes: + - GB MBC: Fix MBC7 when size is incorrectly specified Misc: - All: Only update version info if needed diff --git a/src/gb/mbc.c b/src/gb/mbc.c index 695653eda..b4bb79a2a 100644 --- a/src/gb/mbc.c +++ b/src/gb/mbc.c @@ -139,6 +139,7 @@ void GBMBCInit(struct GB* gb) { 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");