mirror of https://github.com/mgba-emu/mgba.git
GB MBC: Fix MBC7 when size is incorrectly specified
This commit is contained in:
parent
153447d1ec
commit
b4e0ab93fe
2
CHANGES
2
CHANGES
|
@ -1,4 +1,6 @@
|
||||||
0.5.1: (Future)
|
0.5.1: (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