]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Check interlace mode field type when calculating screenshot height.
authorToni Wilen <twilen@winuae.net>
Sun, 29 Sep 2024 16:31:34 +0000 (19:31 +0300)
committerToni Wilen <twilen@winuae.net>
Sun, 29 Sep 2024 16:31:34 +0000 (19:31 +0300)
drawing.cpp

index 7c24c4fd1e31ba62e323ec7d0a4c59a8fe3df52f..70e491f37fe076525748e1707b399decdd7c4c04 100644 (file)
@@ -631,6 +631,9 @@ int get_vertical_visible_height(bool useoldsize)
                if (hardwired) {
                        get_vblanking_limits(&vbstrt, &vbstop, true);
                        int hh = vbstop - vbstrt;
+                       if (interlace_seen && !lof_store) {
+                               hh++;
+                       }
                        if (h > hh) {
                                h = hh;
                        }