1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-04 18:29:40 +00:00

Reintroduces sync write delay.

This commit is contained in:
Thomas Harte 2020-01-02 23:36:11 -05:00
parent 134e828336
commit 414b0cc234

View File

@ -465,10 +465,10 @@ void Video::write(int address, uint16_t value) {
// Sync mode and pixel mode.
case 0x05:
// Writes to sync mode have a one-cycle delay in effect.
// deferrer_.defer(HalfCycles(2), [=] {
deferrer_.defer(HalfCycles(2), [=] {
sync_mode_ = value;
update_output_mode();
// });
});
break;
case 0x30:
video_mode_ = value;