From d463c6ce77407cdcde1018589c59b869b0553b2b Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sat, 14 Feb 2026 15:41:13 +0200 Subject: [PATCH] Include also HCENTER in fast vsync checks. --- custom.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/custom.cpp b/custom.cpp index 9fcbc262..4e0ccaee 100644 --- a/custom.cpp +++ b/custom.cpp @@ -10439,6 +10439,12 @@ static void check_vsyncs_fast(void) lof_detect = 1; update_lof_detect(); } + // VSYNC (HCENTER) + if (vpos == 3 && !lof_store) { + agnus_vsync = true; + lof_detect = 0; + update_lof_detect(); + } if (vpos == 5 && !lof_store) { agnus_vsync = false; } @@ -10447,7 +10453,7 @@ static void check_vsyncs_fast(void) lof_detect = 0; update_lof_detect(); } - if (vpos == 5 && lof_store) { + if (vpos == 5) { agnus_vsync = false; } -- 2.47.3