mirror of https://github.com/stella-emu/stella.git
Eliminate magic number.
This commit is contained in:
parent
2d78f0ee7c
commit
006c7c62d6
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue