From 45c5b38c2de6c97325528e614755c2927e899c06 Mon Sep 17 00:00:00 2001 From: Wilbert Pol Date: Tue, 15 Sep 2009 16:56:04 +0000 Subject: [PATCH] lr35902: do not clear the interrupt flag when the cpu is halted and no interrupt is taken. --- src/emu/cpu/lr35902/lr35902.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/emu/cpu/lr35902/lr35902.c b/src/emu/cpu/lr35902/lr35902.c index be532b30ca1..645157f2019 100644 --- a/src/emu/cpu/lr35902/lr35902.c +++ b/src/emu/cpu/lr35902/lr35902.c @@ -266,7 +266,6 @@ INLINE void lr35902_ProcessInterrupts (lr35902_state *cpustate) if (cpustate->w.enable & HALTED) { cpustate->w.enable &= ~HALTED; - cpustate->w.IF &= ~(1 << irqline); cpustate->w.PC++; if ( cpustate->w.features & LR35902_FEATURE_HALT_BUG ) { if ( ! cpustate->w.enable & IME ) {