]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Added missing fields (Fixes weird behavior when for example light gun and automatic...
authorToni Wilen <twilen@winuae.net>
Mon, 8 Sep 2025 11:42:28 +0000 (14:42 +0300)
committerToni Wilen <twilen@winuae.net>
Mon, 8 Sep 2025 11:42:28 +0000 (14:42 +0300)
drawing.cpp

index 79e44865d2b07d1c8676f23c262a298415d5bf74..7752b1d732a3cbbdc81935b1b5b67bf30ec7e544 100644 (file)
@@ -5105,6 +5105,13 @@ void set_drawbuffer(void)
                        vb->outheight = vb2->outheight;
                        vb->inwidth = vb2->inwidth;
                        vb->inheight = vb2->inheight;
+                       vb->extrawidth = vb2->extrawidth;
+                       vb->extraheight = vb2->extraheight;
+                       vb->xoffset = vb2->xoffset;
+                       vb->yoffset = vb2->yoffset;
+                       vb->inxoffset = vb2->inxoffset;
+                       vb->inyoffset = vb2->inyoffset;
+                       vb->monitor_id = vb2->monitor_id;
                }
        } else {
                vidinfo->inbuffer = &vidinfo->drawbuffer;