summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/z8/z8ops.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/z8/z8ops.hxx')
-rw-r--r--src/devices/cpu/z8/z8ops.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/z8/z8ops.hxx b/src/devices/cpu/z8/z8ops.hxx
index d80988029a5..851a427fd41 100644
--- a/src/devices/cpu/z8/z8ops.hxx
+++ b/src/devices/cpu/z8/z8ops.hxx
@@ -37,7 +37,7 @@
_func(dst, src);
#define mode_IR2_R1(_func) \
- uint8_t src = register_read(read(R));\
+ uint8_t src = read(read(R));\
uint8_t dst = R;\
_func(dst, src);