From 51f4e96faabb862c10924ea92e4137e8fcf57d37 Mon Sep 17 00:00:00 2001 From: Ian C Date: Sat, 24 Dec 2022 21:26:38 +0000 Subject: Added MEMPTR setting. --- z80.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'z80.c') 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; } -- cgit v1.2.3