summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices
diff options
context:
space:
mode:
author arekkusu42 <arekkusu42@users.noreply.github.com>2026-03-12 05:38:08 -0700
committer GitHub <noreply@github.com>2026-03-12 08:38:08 -0400
commit95a86f9153315a4a280bc4b9b772f1a177fef034 (patch)
tree35089fcf576b0357821a30eb21fc99626a2f0c7d /src/devices
parentd0231349f75803cd787304968ab22dc5c60cfb9b (diff)
g65816: XBA always takes 3 cycles (#15088)
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/cpu/g65816/g65816op.ipp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/g65816/g65816op.ipp b/src/devices/cpu/g65816/g65816op.ipp
index 72dcfd51581..1043b5bb0d5 100644
--- a/src/devices/cpu/g65816/g65816op.ipp
+++ b/src/devices/cpu/g65816/g65816op.ipp
@@ -1437,7 +1437,7 @@
#undef OP_XBA
#if FLAG_SET_M
#define OP_XBA() \
- CLK(CLK_OP + CLK_IMPLIED); \
+ CLK(CLK_OP + CLK_IMPLIED + 1); \
FLAG_Z = REGISTER_B>>8; \
REGISTER_B = REGISTER_A<<8; \
REGISTER_A = FLAG_Z; \