Small bug-fix

This commit is contained in:
Angelo Salese 2009-06-21 21:25:36 +00:00
parent d24aa76fdf
commit 23d8a23308

View File

@ -399,6 +399,7 @@ static void check_irq_lines(hc11_state *cpustate)
PUSH8(cpustate, cpustate->ccr);
pc_vector = READ16(cpustate, 0xfff2);
SET_PC(cpustate, pc_vector);
cpustate->ccr |= CC_I; //irq taken, mask the flag
(void)(*cpustate->irq_callback)(cpustate->device, MC68HC11_IRQ_LINE);
}
}