From f87bf612337132f4eae6e81d333daaadf5145259 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Wed, 16 Jul 2025 11:20:33 +0300 Subject: [PATCH] Copper strobe edge case fix --- custom.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.47.3