diff --git a/src/emucore/Console.cxx b/src/emucore/Console.cxx index c45f4644d..d9a1030a8 100644 --- a/src/emucore/Console.cxx +++ b/src/emucore/Console.cxx @@ -119,7 +119,8 @@ Console::Console(OSystem& osystem, unique_ptr& cart, // Let the cart know how to query for the 'Cartridge.StartBank' property myCart->setStartBankFromPropsFunc([this]() { const string& startbank = myProperties.get(PropType::Cart_StartBank); - return startbank == EmptyString ? -1 : atoi(startbank.c_str()); + return (startbank == EmptyString || BSPF::equalsIgnoreCase(startbank, "AUTO")) + ? -1 : atoi(startbank.c_str()); }); // We can only initialize after all the devices/components have been created diff --git a/src/emucore/Props.cxx b/src/emucore/Props.cxx index 5490ea59b..1ab74542c 100644 --- a/src/emucore/Props.cxx +++ b/src/emucore/Props.cxx @@ -314,7 +314,7 @@ string Properties::ourDefaultProperties[static_cast(PropType::NumTypes)] "", // Cart.Note "", // Cart.Rarity "MONO", // Cart.Sound - "", // Cart.StartBank + "AUTO", // Cart.StartBank "AUTO", // Cart.Type "B", // Console.LeftDiff "B", // Console.RightDiff