mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-25 18:30:21 +00:00
Corrects raster race condition with CPU.
This commit is contained in:
parent
68f9084d9e
commit
5d5dc79f2c
@ -339,9 +339,11 @@ class ConcreteMachine:
|
||||
cycle.value->halves.low = uint8_t(memory[address] >> cycle.byte_shift());
|
||||
break;
|
||||
case Microcycle::SelectWord:
|
||||
video_.flush(); // TODO: (and below), a range check to determine whether this is really necesary.
|
||||
memory[address] = cycle.value->full;
|
||||
break;
|
||||
case Microcycle::SelectByte:
|
||||
video_.flush();
|
||||
memory[address] = uint16_t(
|
||||
(cycle.value->halves.low << cycle.byte_shift()) |
|
||||
(memory[address] & cycle.untouched_byte_mask())
|
||||
|
Loading…
Reference in New Issue
Block a user