summaryrefslogtreecommitdiff
path: root/z80.c
diff options
context:
space:
mode:
Diffstat (limited to 'z80.c')
-rw-r--r--z80.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/z80.c b/z80.c
index be50494..36c5793 100644
--- a/z80.c
+++ b/z80.c
@@ -83,6 +83,9 @@ static void Z80_CheckInterrupt(Z80 *cpu)
TSTATE(2);
+ cpu->IFF1=0;
+ cpu->IFF2=0;
+
switch(cpu->IM)
{
default: