mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +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));
|
ram_pointer_ = static_cast<uint16_t>(low_write_ | (value << 8));
|
||||||
if(!(value & 0x40)) {
|
if(!(value & 0x40)) {
|
||||||
// Officially a 'read' set, so perform lookahead.
|
// Officially a 'read' set, so perform lookahead.
|
||||||
read_ahead_buffer_ = ram_[ram_pointer_ & 16383];
|
queued_access_ = MemoryAccess::Read;
|
||||||
ram_pointer_++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user