some fixes for last commit

This commit is contained in:
thrust26 2019-09-07 14:36:13 +02:00
parent d7c4b1a7b9
commit 279e54378d
2 changed files with 4 additions and 4 deletions

View File

@ -187,10 +187,10 @@ bool Cartridge3E::bank(uInt16 bank)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
uInt16 Cartridge3E::getBank(uInt16 addr) const
{
if(addr & 0x800)
return (mySize >> 11) - 1; // 2K slices, fixed bank
if (addr & 0x800)
return 255; // 256 - 1 // 2K slices, fixed bank
else
return 255; // 256 - 1
return myCurrentBank;
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -