From: Toni Wilen Date: Sat, 12 Oct 2024 14:28:54 +0000 (+0300) Subject: Interlace screen height fix. X-Git-Tag: 5310~2 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=0f74d65e778da75dd2799fe08f10fc2a7f9d005c;p=francis%2Fwinuae.git Interlace screen height fix. --- 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;