From: Toni Wilen Date: Mon, 12 May 2025 17:47:21 +0000 (+0300) Subject: Fix remove interlace artifacts X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=1abeda9cb93382497c79f634ac5ce3b174345211;p=francis%2Fwinuae.git Fix remove interlace artifacts --- diff --git a/custom.cpp b/custom.cpp index 7292e4c7..1766d836 100644 --- a/custom.cpp +++ b/custom.cpp @@ -4191,7 +4191,7 @@ static void draw_line(int, bool); static uae_u16 CLXDAT(void) { // draw line up to current horizontal position to get accurate collision state - if (currprefs.cpu_memory_cycle_exact && currprefs.m68k_speed >= 0) { + if (currprefs.cpu_memory_cycle_exact && currprefs.m68k_speed >= 0 && !doflickerfix_active()) { int ldvpos = linear_display_vpos + draw_line_next_line; draw_line(ldvpos, false); } @@ -10974,6 +10974,7 @@ static void do_draw_line(void) denise_restore_registers(); lof_display ^= 1; scandoubled_line = 1; + rga_denise_cycle_count_start = 0; draw_line(linear_display_vpos, true); scandoubled_line = 0; lof_display ^= 1;