From: Toni Wilen Date: Sat, 14 Feb 2026 13:41:13 +0000 (+0200) Subject: Include also HCENTER in fast vsync checks. X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=d463c6ce77407cdcde1018589c59b869b0553b2b;p=francis%2Fwinuae.git Include also HCENTER in fast vsync checks. --- 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; }