From 6cb4950db4a9b9b9edba927bb6a22fe8d1d16fb9 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 16 Nov 2016 11:53:15 +0800 Subject: [PATCH] Improved run-off area. --- Outputs/CRT/CRT.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Outputs/CRT/CRT.cpp b/Outputs/CRT/CRT.cpp index b722fab26..4b453b143 100644 --- a/Outputs/CRT/CRT.cpp +++ b/Outputs/CRT/CRT.cpp @@ -370,7 +370,9 @@ Outputs::CRT::Rect CRT::get_rect_for_area(int first_line_after_sync, int number_ { first_cycle_after_sync *= _time_multiplier; number_of_cycles *= _time_multiplier; - number_of_lines++; + + first_line_after_sync -= 2; + number_of_lines += 4; // determine prima facie x extent unsigned int horizontal_period = _horizontal_flywheel->get_standard_period();