From: Toni Wilen Date: Sat, 30 May 2026 17:28:19 +0000 (+0300) Subject: Check also vertical and horizontal changes X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=ee7ec1641f16b37e36422b003f4dcaa2db8920d9;p=francis%2Fwinuae.git Check also vertical and horizontal changes --- diff --git a/custom.cpp b/custom.cpp index 4946554f..6cf66f19 100644 --- a/custom.cpp +++ b/custom.cpp @@ -4989,7 +4989,10 @@ static void vsync_check_vsyncmode(void) if (abs(current_linear_vblank_lines - linear_vpos_vblank_lines) >= 2 || abs(current_linear_vpos_vb_end - linear_vpos_vblank_end) >= 2 || abs(current_linear_vpos_vb_start - linear_vpos_vblank_start) >= 2 || - abs(current_linear_vpos_vb_vsync - linear_vpos_vblank_vsync) >= 2) { + abs(current_linear_vpos_vb_vsync - linear_vpos_vblank_vsync) >= 2 || + abs(current_linear_hpos - current_linear_hpos_temp) >= 1 || + abs(current_linear_vpos - current_linear_vpos_temp) >= 2) + { current_linear_temp_change = 2; } }