Add files via upload

This commit is contained in:
sanni 2018-06-21 12:25:44 +02:00 committed by GitHub
parent 2ae765276d
commit 32734db2cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -613,14 +613,14 @@ boolean checkcart_SNES() {
} }
else if (romChips == 243) { else if (romChips == 243) {
cx4Type = readBank_SNES(0, 65481) & 0xF; cx4Type = readBank_SNES(0, 65481) & 0xF;
if (cx4Type == 3) { // X3 if (cx4Type == 2) { // X2
romSize = 16;
numBanks = 64;
}
else { // X2
romSize = 12; romSize = 12;
numBanks = 48; numBanks = 48;
} }
else if (cx4Type == 3){ // X3
romSize = 16;
numBanks = 64;
}
} }
else if ((romChips == 245) && (romType == HI)) { else if ((romChips == 245) && (romType == HI)) {
romSize = 24; romSize = 24;
@ -1902,4 +1902,4 @@ boolean eraseSRAM (byte b) {
//****************************************** //******************************************
// End of File // End of File
//****************************************** //******************************************