]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Only show "OCS Denise blanking bug" black lines in Overscan+ or higher.
authorToni Wilen <twilen@winuae.net>
Mon, 12 Feb 2024 19:01:18 +0000 (21:01 +0200)
committerToni Wilen <twilen@winuae.net>
Mon, 12 Feb 2024 19:01:18 +0000 (21:01 +0200)
custom.cpp

index 340feb060243c742731c70deaa5a43c4c2dabcc3..04d88605f32217853d631e6812ab767526702e85 100644 (file)
@@ -6146,7 +6146,7 @@ static void reset_decisions_scanline_start(void)
                }
        }
 
-       if (!ecs_denise) {
+       if (!ecs_denise && currprefs.gfx_overscanmode > OVERSCANMODE_OVERSCAN) {
                if (!ecs_agnus) {
                        if (vb_start_line == 2 + vblank_extraline) {
                                record_color_change2(0, 0, COLOR_CHANGE_BLANK | 1);
@@ -13026,7 +13026,7 @@ static void hsync_handlerh(bool onvsync)
        hpos_hsync_extra = 0;
        estimate_last_fetch_cycle(hpos);
 
-       if (vb_end_next_line && !ecs_denise) {
+       if (vb_end_next_line && !ecs_denise && currprefs.gfx_overscanmode > OVERSCANMODE_OVERSCAN) {
                record_color_change2(hpos, 0, COLOR_CHANGE_BLANK | 1);
        }