From d1ca8a0f91d15e192e9c5f218524769d91e19a54 Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 2 Jan 2023 14:35:58 +0000 Subject: Now passes all zexall tests. --- z80_decode.c | 1 + 1 file changed, 1 insertion(+) (limited to 'z80_decode.c') diff --git a/z80_decode.c b/z80_decode.c index 004682f..dcca2c2 100644 --- a/z80_decode.c +++ b/z80_decode.c @@ -271,6 +271,7 @@ do { \ #define OP_ON_MEM_WITH_ARG(OP,addr,arg) \ do { \ Z80Byte memop=PEEK(addr); \ + PRIV->memptr.w=addr; \ OP(memop,arg); \ POKE(addr,memop); \ } while(0) -- cgit v1.2.3