From: Toni Wilen Date: Sat, 31 Jan 2026 14:40:32 +0000 (+0200) Subject: Fix Overscan+ missing bottom right OCS Denise "blanking bug" X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=2593cd3f192a5904e76822bb0014bd86acaccaa9;p=francis%2Fwinuae.git Fix Overscan+ missing bottom right OCS Denise "blanking bug" --- diff --git a/drawing.cpp b/drawing.cpp index 7145c6d0..f79f0134 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -848,7 +848,6 @@ void set_custom_limits (int w, int h, int dx, int dy, bool blank) visible_bottom_stop = startypos + dy + h; if (currprefs.gfx_overscanmode >= OVERSCANMODE_BROADCAST) { visible_top_start -= 1 << currprefs.gfx_resolution; - visible_bottom_stop += 1 << currprefs.gfx_resolution; } if (visible_top_start < hhadd + startypos) { visible_top_start = hhadd + startypos; @@ -856,6 +855,9 @@ void set_custom_limits (int w, int h, int dx, int dy, bool blank) if ((current_linear_vpos << currprefs.gfx_vresolution) - hhadd2 < visible_bottom_stop) { visible_bottom_stop = (current_linear_vpos << currprefs.gfx_vresolution) - hhadd2; } + if (currprefs.gfx_overscanmode >= OVERSCANMODE_BROADCAST) { + visible_bottom_stop += 1 << currprefs.gfx_resolution; + } } check_custom_limits();