]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Fast mode superhires + hires output resolution horizontal scroll fix.
authorToni Wilen <twilen@winuae.net>
Mon, 12 May 2025 17:45:04 +0000 (20:45 +0300)
committerToni Wilen <twilen@winuae.net>
Mon, 12 May 2025 17:45:04 +0000 (20:45 +0300)
drawing.cpp

index 220bc7428e6936dc446459eaeb5ee416f27f0e7a..f32ab43920074df6ae7356900b9a1d8443fac0fd 100644 (file)
@@ -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;