From: Toni Wilen Date: Sat, 27 Dec 2025 13:44:16 +0000 (+0200) Subject: Update COPJMP X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=d7dadedcbd5572241c6dc01253211fac08674fb1;p=francis%2Fwinuae.git Update COPJMP --- diff --git a/custom.cpp b/custom.cpp index b4e7b32d..e9385128 100644 --- a/custom.cpp +++ b/custom.cpp @@ -3047,12 +3047,14 @@ static uaecptr getstrobecopip(void) static void COPJMP(int num, bool bsce) { - cop_state.startstrobe = 0; - cop_state.startstrobe |= 8 << 0; - cop_state.startstrobe |= num << 4; + uae_u32 st = 0; + + st |= 8 << 0; + st |= num << 4; if (!bsce) { - cop_state.startstrobe <<= 4; + cop_state.startstrobe |= st << 4; } else { + cop_state.startstrobe |= st << 0; cop_state.vblankip = cop1lc; }