Eliminate magic number.

This commit is contained in:
Stephen Anthony 2020-06-12 10:54:25 -02:30
parent 2d78f0ee7c
commit 006c7c62d6
1 changed files with 1 additions and 1 deletions

View File

@ -46,6 +46,6 @@ Cartridge2K::Cartridge2K(const ByteBuffer& image, size_t size,
for(size_t i = 0; i < System::PAGE_SIZE; i += mySize)
std::copy_n(image.get(), mySize, myImage.get() + i);
mySize = System::PAGE_SIZE;
myBankShift = 6;
myBankShift = System::PAGE_SHIFT;
}
}