summaryrefslogtreecommitdiff
path: root/z80_decode.c
diff options
context:
space:
mode:
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
*/