mirror of https://github.com/stella-emu/stella.git
3e+ comments fixed
This commit is contained in:
parent
e8543ba075
commit
47a6b1de32
|
@ -47,13 +47,13 @@ bool Cartridge3EPlus::checkSwitchBank(uInt16 address, uInt8 value)
|
|||
{
|
||||
// Switch banks if necessary
|
||||
if(address == 0x003F) {
|
||||
// Switch ROM bank into segment 0
|
||||
// Switch ROM bank into segment
|
||||
bank(value & 0b111111, value >> 6);
|
||||
return true;
|
||||
}
|
||||
else if(address == 0x003E)
|
||||
{
|
||||
// Switch RAM bank into segment 0
|
||||
// Switch RAM bank into segment
|
||||
bank((value & 0b111111) + romBankCount(), value >> 6);
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -141,7 +141,7 @@ class Cartridge3EPlus: public Cartridge3E
|
|||
static constexpr uInt16 RAM_BANKS = 64;
|
||||
|
||||
// RAM size
|
||||
static constexpr size_t RAM_SIZE = RAM_BANKS << (BANK_SHIFT - 1); // = 32K = 0x4000;
|
||||
static constexpr size_t RAM_SIZE = RAM_BANKS << (BANK_SHIFT - 1); // = 32K = 0x8000;
|
||||
|
||||
private:
|
||||
// Following constructors and assignment operators not supported
|
||||
|
|
Loading…
Reference in New Issue