1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-01-23 16:16:16 +00:00

Temporarily exclude borders.

This commit is contained in:
Thomas Harte
2025-10-07 22:42:26 -04:00
parent d68b172a40
commit 66e959ab65

View File

@@ -269,14 +269,16 @@ void CRT::advance_cycles(
// End the scan if necessary.
if(next_scan) {
next_scan->end_points[1] = end_point();
scan_target_->end_scan();
if(frame_is_complete_) {
// TODO: intelligent decision about whether to include long single-colour runs.
if(frame_is_complete_ && number_of_samples > 1) {
active_rect_.expand(
next_scan->end_points[0].x, next_scan->end_points[1].x,
next_scan->end_points[0].y, next_scan->end_points[1].y
);
}
scan_target_->end_scan();
}
using Event = Outputs::Display::ScanTarget::Event;