notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efaa5e0
)
68k, fix timing for BTST #imm,Dn and ADDQ.W #imm,An in fame
author
kub
<derkub@gmail.com>
Wed, 19 May 2021 17:04:37 +0000
(19:04 +0200)
committer
kub
<derkub@gmail.com>
Wed, 19 May 2021 17:04:37 +0000
(19:04 +0200)
cpu/fame/famec_opcodes.h
patch
|
blob
|
blame
|
history
diff --git
a/cpu/fame/famec_opcodes.h
b/cpu/fame/famec_opcodes.h
index
e069e9e
..
d43a563
100644
(file)
--- 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