summaryrefslogtreecommitdiff
path: root/z80_decode.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2022-12-31 16:47:11 +0000
committerIan C <ianc@noddybox.co.uk>2022-12-31 16:47:11 +0000
commit8fdedfc11f3109da05aec015237a265a7a148ca0 (patch)
treefcb94c3a3c5fe9a786637a007c15bf955c5e22ea /z80_decode.c
parent863110323dd0372102bf989fcb18f6573582de37 (diff)
Some MEMPTR changes.
Diffstat (limited to 'z80_decode.c')
-rw-r--r--z80_decode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/z80_decode.c b/z80_decode.c
index aecd26a..e639e97 100644
--- a/z80_decode.c
+++ b/z80_decode.c
@@ -524,6 +524,7 @@ do { \
{ \
TSTATE(11); \
POP(cpu->PC); \
+ PRIV->memptr.w=cpu->PC; \
} \
else \
{ \
@@ -536,7 +537,7 @@ do { \
TSTATE(11); \
PUSH(cpu->PC); \
cpu->PC=ADDR; \
- cpu->priv->memptr.w=ADDR
+ PRIV->memptr.w=ADDR
/* ---------------------------------------- BLOCK OPERATIONS
*/