From 6c70426496b33f776932e404153296be42d3c276 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Thu, 15 Feb 2024 19:21:30 +0200 Subject: [PATCH] Hide the very last OCS-only line if mode is not at least Overscan+ --- drawing.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) { -- 2.47.3