]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Hide the very last OCS-only line if mode is not at least Overscan+
authorToni Wilen <twilen@winuae.net>
Thu, 15 Feb 2024 17:21:30 +0000 (19:21 +0200)
committerToni Wilen <twilen@winuae.net>
Thu, 15 Feb 2024 17:21:30 +0000 (19:21 +0200)
drawing.cpp

index 4b56e7ac7c4fb4086e27108f1607c7d9bb27863b..2053d4b76ff55e81f8255afeadac8a4ac466f897 100644 (file)
@@ -539,7 +539,9 @@ static void get_vblanking_limits(int *vbstrtp, int *vbstopp, bool overscanonly)
        }
        int vbstop = maxvpos + lof_display;
        if (!ecs_denise && !ecs_agnus) {
-               vbstop++;
+               if (currprefs.gfx_overscanmode >= OVERSCANMODE_BROADCAST) {
+                       vbstop++;
+               }
        } else if (ecs_agnus && !ecs_denise) {
                // hide hblank bug by faking vblank start 1 line earlier
                if (currprefs.gfx_overscanmode < OVERSCANMODE_BROADCAST) {