From: kub Date: Wed, 19 May 2021 17:04:37 +0000 (+0200) Subject: 68k, fix timing for BTST #imm,Dn and ADDQ.W #imm,An in fame X-Git-Tag: v2.00~526 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e867ec06e1aac62c2993c79c77014cb12ab22458;p=picodrive.git 68k, fix timing for BTST #imm,Dn and ADDQ.W #imm,An in fame --- 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