From: Toni Wilen Date: Wed, 16 Jul 2025 08:20:33 +0000 (+0300) Subject: Copper strobe edge case fix X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=f87bf612337132f4eae6e81d333daaadf5145259;p=francis%2Fwinuae.git Copper strobe edge case fix --- diff --git a/custom.cpp b/custom.cpp index 81991b4e..2a84bec3 100644 --- a/custom.cpp +++ b/custom.cpp @@ -3043,6 +3043,7 @@ static void COPJMP(int num, int vblank) } else { cop_state.state = COP_strobe_delay_start; } + cop_state.strobeip = 0xffffffff; } else { // copper request done for next cycle if (vblank) { @@ -9481,6 +9482,9 @@ static void generate_copper(void) // But it still gets allocated by copper if it is free = CPU and blitter can't use it. if (bus_allocated) { cop_state.state = COP_strobe_delay2; + if (cop_state.strobeip == 0xffffffff) { + cop_state.strobetype = 1; + } cop_state.strobeip = getstrobecopip(); cop_state.strobe = 0; cop_state.ignore_next = 0;