]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
OCS Agnus + OCS Denise config also has line 0 visible at the bottom of screen (like...
authorToni Wilen <twilen@winuae.net>
Sun, 12 May 2024 16:31:17 +0000 (19:31 +0300)
committerToni Wilen <twilen@winuae.net>
Sun, 12 May 2024 16:31:17 +0000 (19:31 +0300)
custom.cpp

index 5368371d4b545c606e62e915b2df7e1df11bae50..7ad1db01597ea4fbcc099de09341b1ddc199f689 100644 (file)
@@ -7280,10 +7280,13 @@ static void init_beamcon0(bool fakehz)
        maxvpos_nom = maxvpos;
        maxvpos_display = maxvpos;
        maxvpos_display_vsync = 1;
-       // A1000 Agnus VBSTRT=first line, OCS and later: VBSTRT=last line
        if (agnusa1000) {
+               // A1000 Agnus VBSTRT=first line, OCS and later: VBSTRT=last line
                maxvpos_display_vsync++;
                hardwired_vsstrt++;
+       } else if (!ecs_agnus && !ecs_denise) {
+               // OCS Agnus + OCS Denise: line 0 is visible
+               maxvpos_display_vsync++;
        }
 
        vblank_firstline_hw = minfirstline;