From f7231c384727bf8670f5e2a947669366a2320de1 Mon Sep 17 00:00:00 2001 From: Ian C Date: Wed, 20 Sep 2006 23:00:10 +0000 Subject: Made interrupts disabled on maskable interrupt. --- z80.c | 3 +++ 1 file changed, 3 insertions(+) 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: -- cgit v1.2.3