mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
68k, fix timing for BTST #imm,Dn and ADDQ.W #imm,An in fame
This commit is contained in:
parent
efaa5e0b04
commit
e867ec06e1
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue