Update GB.ino

This commit is contained in:
sanni 2022-02-16 16:24:06 +01:00
parent 5a59ed155b
commit 2ff3e84d6f

View File

@ -381,7 +381,8 @@ void showCartInfo_GB() {
print_Msg(F("512KB")); print_Msg(F("512KB"));
break; break;
case 5: print_Msg(F("1MB")); case 5:
print_Msg(F("1MB"));
break; break;
case 6: case 6:
@ -420,8 +421,7 @@ void showCartInfo_GB() {
break; break;
case 4: case 4:
print_Msg print_Msg(F("128KB"));
(F("128KB"));
break; break;
default: print_Msg(F("none")); default: print_Msg(F("none"));
@ -554,8 +554,7 @@ void getCartInfo_GB() {
sramSize = readByte_GB(0x0149); sramSize = readByte_GB(0x0149);
// ROM banks // ROM banks
switch (romSize) switch (romSize){
{
case 0x00: case 0x00:
romBanks = 2; romBanks = 2;
break; break;