From: Toni Wilen Date: Mon, 12 May 2025 17:45:04 +0000 (+0300) Subject: Fast mode superhires + hires output resolution horizontal scroll fix. X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=1ce8036730b9a22e2f0de3d39cce9d38720aa318;p=francis%2Fwinuae.git Fast mode superhires + hires output resolution horizontal scroll fix. --- 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;