1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-05 10:28:58 +00:00

Corrects lingering free TMS read.

This commit is contained in:
Thomas Harte 2017-12-14 20:30:56 -05:00
parent aca7842ca4
commit 3da323c657

View File

@ -626,8 +626,7 @@ void TMS9918::set_register(int address, uint8_t value) {
ram_pointer_ = static_cast<uint16_t>(low_write_ | (value << 8));
if(!(value & 0x40)) {
// Officially a 'read' set, so perform lookahead.
read_ahead_buffer_ = ram_[ram_pointer_ & 16383];
ram_pointer_++;
queued_access_ = MemoryAccess::Read;
}
}
}