GB MBC: Fix MBC7 when size is incorrectly specified

This commit is contained in:
Jeffrey Pfau 2016-09-19 23:54:50 -07:00
parent de8a59e51e
commit 575a37fd83
2 changed files with 3 additions and 0 deletions

View File

@ -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

View File

@ -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");