1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-19 19:16:34 +00:00

Zoom out to a more likely TV cropping.

This commit is contained in:
Thomas Harte
2025-01-15 22:52:20 -05:00
parent a6e453a452
commit f089a85908
+5 -2
View File
@@ -32,9 +32,12 @@ public:
pager_(pager),
interrupts_(interrupts)
{
const auto visible_lines = 33 * 8;
const auto centre = eos() - vs_stop() + 104; // i.e. centre on vertical_counter_ = 104.
crt_.set_visible_area(crt_.get_rect_for_area(
311 - 257 - 4,
208 + 8,
centre - (visible_lines / 2),
visible_lines,
int(HorizontalEvent::Begin40Columns) - int(HorizontalEvent::BeginSync) + int(HorizontalEvent::ScheduleCounterReset) + 1 - 8,
int(HorizontalEvent::End40Columns) - int(HorizontalEvent::Begin40Columns) + 16,
4.0f / 3.0f