summaryrefslogtreecommitdiff
path: root/z80_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'z80_private.h')
-rw-r--r--z80_private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/z80_private.h b/z80_private.h
index a970eab..4a19324 100644
--- a/z80_private.h
+++ b/z80_private.h
@@ -115,7 +115,8 @@ struct Z80
\
for(f=0;f<MAX_PER_CALLBACK;f++) \
if (cpu->callback[r][f]) \
- cpu->callback[r][f](cpu,d); \
+ cpu->last_cb &= \
+ cpu->callback[r][f](cpu,d); \
} while(0)
/* Flag register