GB MBC: Fix MBC7 when size is incorrectly specified
Jeffrey Pfau jeffrey@endrift.com
Mon, 19 Sep 2016 23:54:50 -0700
2 files changed,
3 insertions(+),
0 deletions(-)
M
src/gb/mbc.c
→
src/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");