From ee7ec1641f16b37e36422b003f4dcaa2db8920d9 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sat, 30 May 2026 20:28:19 +0300 Subject: [PATCH] Check also vertical and horizontal changes --- custom.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } } -- 2.47.3