diff options
author | 2011-09-29 20:03:02 +0000 | |
---|---|---|
committer | 2011-09-29 20:03:02 +0000 | |
commit | 6b541725f98db7851541d5b492c547839ecc2897 (patch) | |
tree | 59cfcc925e0bcccac92f27df89c8d3fa6cc7e977 /src/emu | |
parent | c19d93027bb155b7190603ae8e9b21c573305df1 (diff) |
m68000: Avoid a case when dropping the irq mask just after taking a auto-acked interrupt would cause a spurious irq [O. Galibert]
Diffstat (limited to 'src/emu')
-rw-r--r-- | src/emu/cpu/m68000/m68kcpu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/cpu/m68000/m68kcpu.c b/src/emu/cpu/m68000/m68kcpu.c index 2bd885801ca..b87cf0022b9 100644 --- a/src/emu/cpu/m68000/m68kcpu.c +++ b/src/emu/cpu/m68000/m68kcpu.c @@ -714,6 +714,8 @@ static CPU_EXECUTE( m68k ) /* See if interrupts came in */ m68ki_check_interrupts(m68k); + if (m68k->remaining_cycles <= 0) + return; /* Make sure we're not stopped */ if(!m68k->stopped) |