Skip to content

Commit

Permalink
enhancement: OCS Agnus + OCS Denise config also has line 0 visible at…
Browse files Browse the repository at this point in the history
… the bottom of screen (like A1000)
  • Loading branch information
midwan committed May 13, 2024
1 parent 57e6919 commit c2741b2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/custom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7290,10 +7290,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;
Expand Down

0 comments on commit c2741b2

Please sign in to comment.