From 1ce8036730b9a22e2f0de3d39cce9d38720aa318 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Mon, 12 May 2025 20:45:04 +0300 Subject: [PATCH] Fast mode superhires + hires output resolution horizontal scroll fix. --- drawing.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drawing.cpp b/drawing.cpp index 220bc742..f32ab439 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -6871,7 +6871,10 @@ void draw_denise_bitplane_line_fast(int gfx_ypos, enum nln_how how, struct lines // subpixel handling int subpix = (ls->bplcon1 & 0x0300) >> 8; int cpadds[4] = { 0, 0, 0, 0 }; - if (doubling <= 0) { + if (doubling < 0) { + cpadds[0] = 1 << cpadd; + subpix = 0; + } else if (doubling == 0) { cpadds[0] = 1 << cpadd; subpix >>= RES_MAX - hresolution; cp -= subpix; -- 2.47.3