From: Toni Wilen Date: Wed, 15 Oct 2025 14:57:35 +0000 (+0300) Subject: Calculate largest hdiw start and end also in fast mode drawing X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=f331e55835806020366239a2364100452ef21912;p=francis%2Fwinuae.git Calculate largest hdiw start and end also in fast mode drawing --- diff --git a/drawing.cpp b/drawing.cpp index a47b3ccc..6e78fc88 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -7110,6 +7110,13 @@ void draw_denise_bitplane_line_fast(int gfx_ypos, enum nln_how how, struct lines memset(gbuf, 0, total); } + if (ls->hstop_offset > diwlastword_total && ls->bpl1dat_trigger_offset >= 0) { + diwlastword_total = ls->hstop_offset; + } + if (ls->hstrt_offset < diwfirstword_total && ls->bpl1dat_trigger_offset >= 0) { + diwfirstword_total = ls->hstrt_offset; + } + #else int cnt = draw_start;