From 0c65385c82c31bf25281b1b7a3a82f4b82c7a7b4 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 14 Jun 2018 18:24:32 -0400 Subject: [PATCH] Undoes older interpretation of alternating phase. I now understand, hopefully, that it's only the phase of the second colour component that alternates. That has the pointwise effect of reversing the colour signal. Hence the effect of phase errors cancelling themselves out up on successive lines up to a point. --- Outputs/CRT/CRT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Outputs/CRT/CRT.cpp b/Outputs/CRT/CRT.cpp index 7f0f4f20b..9a1cae3ae 100644 --- a/Outputs/CRT/CRT.cpp +++ b/Outputs/CRT/CRT.cpp @@ -375,7 +375,7 @@ void CRT::output_colour_burst(unsigned int number_of_cycles, uint8_t phase, uint } void CRT::output_default_colour_burst(unsigned int number_of_cycles) { - output_colour_burst(number_of_cycles, static_cast((phase_numerator_ * 256) / phase_denominator_ + (is_alernate_line_ ? 128 : 0))); + output_colour_burst(number_of_cycles, static_cast((phase_numerator_ * 256) / phase_denominator_)); } void CRT::set_immediate_default_phase(float phase) {