From 32a5bf76cd232bb2ef7926e08a46c127fdc972e6 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 26 Sep 2025 12:06:44 -0400 Subject: [PATCH] Introduce a crop, centred on the pixel area. --- Machines/Acorn/BBCMicro/BBCMicro.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Machines/Acorn/BBCMicro/BBCMicro.cpp b/Machines/Acorn/BBCMicro/BBCMicro.cpp index 682f1263b..ca7d27287 100644 --- a/Machines/Acorn/BBCMicro/BBCMicro.cpp +++ b/Machines/Acorn/BBCMicro/BBCMicro.cpp @@ -288,7 +288,10 @@ public: CRTCBusHandler(const uint8_t *const ram, SystemVIA &system_via) : crt_(1024, 1, Outputs::Display::Type::PAL50, Outputs::Display::InputDataType::Red1Green1Blue1), ram_(ram), - system_via_(system_via) {} + system_via_(system_via) + { + crt_.set_visible_area(crt_.get_rect_for_area(30, 256, 160, 800, 4.0f / 3.0f)); + } void set_palette(const uint8_t value) { const auto index = value >> 4;