1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-22 12:33:29 +00:00

Slowed flywheel adjustments a little, the better to highlight phase errors for the time being.

This commit is contained in:
Thomas Harte 2015-07-30 23:00:54 -04:00
parent 78e66d2577
commit 6ad3fbbaf2

View File

@ -146,7 +146,7 @@ CRT::SyncEvent CRT::next_horizontal_sync_event(bool hsync_is_requested, int cycl
_did_detect_hsync = true;
int time_now = (_horizontal_counter < _hsync_error_window) ? _expected_next_hsync + _horizontal_counter : _horizontal_counter;
_expected_next_hsync = (_expected_next_hsync + time_now) >> 1;
_expected_next_hsync = (_expected_next_hsync + _expected_next_hsync + _expected_next_hsync + time_now) >> 2;
}
}