From: Toni Wilen Date: Thu, 15 Feb 2024 17:21:30 +0000 (+0200) Subject: Hide the very last OCS-only line if mode is not at least Overscan+ X-Git-Tag: 5200~5 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=6c70426496b33f776932e404153296be42d3c276;p=francis%2Fwinuae.git Hide the very last OCS-only line if mode is not at least Overscan+ --- diff --git a/drawing.cpp b/drawing.cpp index 4b56e7ac..2053d4b7 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -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) {