summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/g65816/g65816op.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/g65816/g65816op.h')
-rw-r--r--src/devices/cpu/g65816/g65816op.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/cpu/g65816/g65816op.h b/src/devices/cpu/g65816/g65816op.h
index 97b198e9385..727117c0f29 100644
--- a/src/devices/cpu/g65816/g65816op.h
+++ b/src/devices/cpu/g65816/g65816op.h
@@ -1428,7 +1428,8 @@
#undef OP_WDM
#define OP_WDM() \
CLK(CLK_OP + CLK_IMPLIED); \
- REGISTER_PC++
+ SRC = OPER_8_IMM(); \
+ m_wdm_w(SRC);
/* G65816 Exchange accum high and low bytes */
#undef OP_XBA