From e867ec06e1aac62c2993c79c77014cb12ab22458 Mon Sep 17 00:00:00 2001 From: kub Date: Wed, 19 May 2021 19:04:37 +0200 Subject: [PATCH] 68k, fix timing for BTST #imm,Dn and ADDQ.W #imm,An in fame --- cpu/fame/famec_opcodes.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cpu/fame/famec_opcodes.h b/cpu/fame/famec_opcodes.h index e069e9ea..d43a563a 100644 --- a/cpu/fame/famec_opcodes.h +++ b/cpu/fame/famec_opcodes.h @@ -4614,7 +4614,7 @@ OPCODE(0x013C) src = 1 << (src & 7); FETCH_BYTE(res); flag_NotZ = res & src; -RET(8) +RET(10) } // BTST @@ -24027,11 +24027,7 @@ OPCODE(0x5048) dst = AREGu32((Opcode >> 0) & 7); res = dst + src; AREG((Opcode >> 0) & 7) = res; -#ifdef USE_CYCLONE_TIMING -RET(4) -#else RET(8) -#endif } // ADDQ -- 2.39.2