quick dirty possible fix for MBC5 roms of 4 and 8MB size. (#2442)

This commit is contained in:
Squall Leonhart 2024-10-10 18:34:31 +11:00 committed by GitHub
parent a2e479a705
commit 0d95a0cd7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

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