mirror of
https://github.com/holub/mame
synced 2025-06-29 23:48:56 +03:00
Small bug-fix
This commit is contained in:
parent
d24aa76fdf
commit
23d8a23308
@ -399,6 +399,7 @@ static void check_irq_lines(hc11_state *cpustate)
|
|||||||
PUSH8(cpustate, cpustate->ccr);
|
PUSH8(cpustate, cpustate->ccr);
|
||||||
pc_vector = READ16(cpustate, 0xfff2);
|
pc_vector = READ16(cpustate, 0xfff2);
|
||||||
SET_PC(cpustate, pc_vector);
|
SET_PC(cpustate, pc_vector);
|
||||||
|
cpustate->ccr |= CC_I; //irq taken, mask the flag
|
||||||
(void)(*cpustate->irq_callback)(cpustate->device, MC68HC11_IRQ_LINE);
|
(void)(*cpustate->irq_callback)(cpustate->device, MC68HC11_IRQ_LINE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user