summaryrefslogtreecommitdiff
path: root/z80.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2022-12-24 21:26:38 +0000
committerIan C <ianc@noddybox.co.uk>2022-12-24 21:26:38 +0000
commit51f4e96faabb862c10924ea92e4137e8fcf57d37 (patch)
tree1636aaa697908c3d8b6c4fbf3123b1eb46847edb /z80.c
parent2be063571c837ed5dd11a3be1211cb8182d4312d (diff)
Added MEMPTR setting.
Diffstat (limited to 'z80.c')
-rw-r--r--z80.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/z80.c b/z80.c
index dc4b9d1..70363de 100644
--- a/z80.c
+++ b/z80.c
@@ -196,6 +196,8 @@ void Z80Reset(Z80 *cpu)
PRIV->raise=FALSE;
PRIV->nmi=FALSE;
+
+ PRIV->memptr.w = 0xffff;
}