mirror of https://github.com/mgba-emu/mgba.git
GB MBC: Fix MBC7 when size is incorrectly specified
This commit is contained in:
parent
de8a59e51e
commit
575a37fd83
2
CHANGES
2
CHANGES
|
@ -1,4 +1,6 @@
|
||||||
0.6.0: (Future)
|
0.6.0: (Future)
|
||||||
|
Bugfixes:
|
||||||
|
- GB MBC: Fix MBC7 when size is incorrectly specified
|
||||||
Misc:
|
Misc:
|
||||||
- All: Only update version info if needed
|
- All: Only update version info if needed
|
||||||
|
|
||||||
|
|
|
@ -139,6 +139,7 @@ void GBMBCInit(struct GB* gb) {
|
||||||
break;
|
break;
|
||||||
case GB_MBC7:
|
case GB_MBC7:
|
||||||
gb->memory.mbc = _GBMBC7;
|
gb->memory.mbc = _GBMBC7;
|
||||||
|
gb->sramSize = GB_SIZE_EXTERNAL_RAM;
|
||||||
break;
|
break;
|
||||||
case GB_MMM01:
|
case GB_MMM01:
|
||||||
mLOG(GB_MBC, WARN, "unimplemented MBC: MMM01");
|
mLOG(GB_MBC, WARN, "unimplemented MBC: MMM01");
|
||||||
|
|
Loading…
Reference in New Issue