From 0f74d65e778da75dd2799fe08f10fc2a7f9d005c Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sat, 12 Oct 2024 17:28:54 +0300 Subject: [PATCH] Interlace screen height fix. --- drawing.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drawing.cpp b/drawing.cpp index 70e491f3..7c689715 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -631,8 +631,8 @@ 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 (interlace_seen && lof_display) { + hh -= 1 << currprefs.gfx_vresolution; } if (h > hh) { h = hh;