From 6ad3fbbaf285000493021e8a4eeebb19c599611d Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 30 Jul 2015 23:00:54 -0400 Subject: [PATCH] Slowed flywheel adjustments a little, the better to highlight phase errors for the time being. --- Outputs/CRT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Outputs/CRT.cpp b/Outputs/CRT.cpp index d93844e4f..b2f0f0b6f 100644 --- a/Outputs/CRT.cpp +++ b/Outputs/CRT.cpp @@ -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; } }