remove superfluous code in Cart2K

This commit is contained in:
thrust26 2020-04-12 09:02:28 +02:00
parent 24ade13e93
commit ae774f891f
1 changed files with 0 additions and 6 deletions

View File

@ -55,10 +55,4 @@ Cartridge2K::Cartridge2K(const ByteBuffer& image, size_t size,
mySize = System::PAGE_SIZE;
myBankShift = 6;
}
// update access arrays, bank size and mask based on new size
createRomAccessArrays(mySize);
myBankSize = 1 << myBankShift; // e.g. = 2 ^ 11 = 2048 = 0x0800
myBankMask = myBankSize - 1; // e.g. = 0x07FF
}