quick dirty possible fix for MBC5 roms of 4 and 8MB size. (#2442)
This commit is contained in:
parent
a2e479a705
commit
0d95a0cd7f
|
@ -346,6 +346,12 @@ bool LoadCart(LPGBCART Cart, LPCTSTR RomFileName, LPCTSTR RamFileName, LPCTSTR T
|
||||||
case 0x06:
|
case 0x06:
|
||||||
Cart->iNumRomBanks = 128;
|
Cart->iNumRomBanks = 128;
|
||||||
break;
|
break;
|
||||||
|
case 0x07:
|
||||||
|
Cart->iNumRomBanks = 256;
|
||||||
|
break;
|
||||||
|
case 0x08:
|
||||||
|
Cart->iNumRomBanks = 512;
|
||||||
|
break;
|
||||||
case 0x52:
|
case 0x52:
|
||||||
Cart->iNumRomBanks = 72;
|
Cart->iNumRomBanks = 72;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue