1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-26 09:29:45 +00:00

Fixed clanger of an error.

This commit is contained in:
Thomas Harte 2017-08-16 14:02:46 -04:00
parent 360c8a99a3
commit 3c148f5721

View File

@ -20,7 +20,7 @@ class Unpaged: public BusExtender {
void perform_bus_operation(CPU::MOS6502::BusOperation operation, uint16_t address, uint8_t *value) {
if(isReadOperation(operation) && (address & 0x1000)) {
*value = rom_base_[address] & (rom_size_ - 1);
*value = rom_base_[address & (rom_size_ - 1)];
}
}
};