From: Toni Wilen Date: Sun, 12 May 2024 16:30:28 +0000 (+0300) Subject: Line 0 A1000 and OCS Agnus strobe fix X-Git-Tag: 5300~12 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=25e9b5c4ce03f7428f8800a2630dd5f8ac312d59;p=francis%2Fwinuae.git Line 0 A1000 and OCS Agnus strobe fix --- diff --git a/custom.cpp b/custom.cpp index c2ec739b..5368371d 100644 --- a/custom.cpp +++ b/custom.cpp @@ -2561,6 +2561,13 @@ static uae_u16 get_strobe_reg(int slot) strobe = 0x3c; if (vb_start_line > 1 && vpos < get_equ_vblank_endline() && vpos >= get_equ_vblank_startline()) { strobe = 0x38; + if (vpos == 0) { + if (agnusa1000) { + strobe = 0x3c; + } else if (!ecs_agnus) { + strobe = 0x3a; + } + } } else if (vb_start_line > 1 || vb_end_line || vb_end_next_line) { strobe = 0x3a; }