]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Merge branch 'master' into development
authorToni Wilen <twilen@winuae.net>
Sat, 14 Feb 2026 13:57:39 +0000 (15:57 +0200)
committerToni Wilen <twilen@winuae.net>
Sat, 14 Feb 2026 13:57:39 +0000 (15:57 +0200)
1  2 
custom.cpp

diff --cc custom.cpp
index 5dce69786b0bc021f881d4b6f3252c8a997dc8b5,4e0ccaeea9270cd116929d77272d6a75b7e3fcdd..699ecf2c80d1023710b2362abb573d9130227892
@@@ -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;
        }