mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-24 12:30:17 +00:00
Corrects lingering free TMS read.
This commit is contained in:
parent
aca7842ca4
commit
3da323c657
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user