From c84004bfa3e76b0c66e03df2a8701d6723de9cf2 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 6 Jan 2017 21:36:19 -0500 Subject: [PATCH] Fixed: colour_cycle_numerator_ doesn't need to be multiplied by the time multiplier because it'll get that for free from the calculation of next_run_length. --- 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 8e7694761..5a6b617f1 100644 --- a/Outputs/CRT/CRT.cpp +++ b/Outputs/CRT/CRT.cpp @@ -31,7 +31,7 @@ void CRT::set_new_timing(unsigned int cycles_per_line, unsigned int height_of_di time_multiplier_ = IntermediateBufferWidth / cycles_per_line; phase_denominator_ = cycles_per_line * colour_cycle_denominator; phase_numerator_ = 0; - colour_cycle_numerator_ = colour_cycle_numerator * time_multiplier_; + colour_cycle_numerator_ = colour_cycle_numerator; phase_alternates_ = should_alternate; is_alernate_line_ &= phase_alternates_; unsigned int multiplied_cycles_per_line = cycles_per_line * time_multiplier_;