1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-06 01:28:57 +00:00

Improved run-off area.

This commit is contained in:
Thomas Harte 2016-11-16 11:53:15 +08:00
parent 9ee11d7765
commit 6cb4950db4

View File

@ -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();