summaryrefslogtreecommitdiff
path: root/z80.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2006-09-20 23:00:10 +0000
committerIan C <ianc@noddybox.co.uk>2006-09-20 23:00:10 +0000
commitf7231c384727bf8670f5e2a947669366a2320de1 (patch)
treeaf27a96a6eb52fb6036de0cdeae0ffd1d0fdf383 /z80.c
parentba407390c6ae965fe217ca7ee2a8cffdd701b623 (diff)
Made interrupts disabled on maskable interrupt.
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: