From: Toni Wilen Date: Sun, 15 Mar 2026 14:08:43 +0000 (+0200) Subject: Fix parameters X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=a528791ca27301ea4b1d0ce222645ddc72ae1937;p=francis%2Fwinuae.git Fix parameters --- diff --git a/drawing.cpp b/drawing.cpp index 6c138816..4cdab093 100644 --- a/drawing.cpp +++ b/drawing.cpp @@ -5965,7 +5965,7 @@ static void edgeblanking(int hbstrt_offset, int hbstop_offset, int internal_pixe if (p1 + w > ptrs && p1 < ptre) { int wxadd = 0; if (p1 < ptrs) { - wxadd = addrdiff(p1, ptrs); + wxadd = addrdiff(ptrs, p1); w -= wxadd; p1 += wxadd; }