From: Toni Wilen Date: Sat, 14 Feb 2026 13:57:39 +0000 (+0200) Subject: Merge branch 'master' into development X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=91da12f09c4dbf6b17da3ae49b4578f372e71666;p=francis%2Fwinuae.git Merge branch 'master' into development --- 91da12f09c4dbf6b17da3ae49b4578f372e71666 diff --cc custom.cpp index 5dce6978,4e0ccaee..699ecf2c --- a/custom.cpp +++ b/custom.cpp @@@ -10003,24 -10436,24 +10003,30 @@@ static void check_vsyncs_fast(void // VSYNC if (vpos == 3 && lof_store) { agnus_vsync = true; - lof_detect = 1; + if (!beamcon0_has_vsync) { + vsync_mark(); + } + lof_detect = 0; 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; } if (vpos == 2 && !lof_store) { agnus_vsync = true; - lof_detect = 0; + if (!beamcon0_has_vsync) { + vsync_mark(); + } + lof_detect = 1; update_lof_detect(); } - if (vpos == 5 && lof_store) { + if (vpos == 5) { agnus_vsync = false; }