diff options
author | Angelo Salese <angelosa@users.noreply.github.com> | 2009-06-21 21:25:36 +0000 |
---|---|---|
committer | Angelo Salese <angelosa@users.noreply.github.com> | 2009-06-21 21:25:36 +0000 |
commit | 23d8a233082cb6a5cb315c8fdbf5b76dc451cc3f (patch) | |
tree | 0031f89524fe7106135b65c009ee2332fb71efa8 | |
parent | d24aa76fdf3554b11725c0edbbe6a3ed1d49db4f (diff) |
Small bug-fix
-rw-r--r-- | src/emu/cpu/mc68hc11/mc68hc11.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/cpu/mc68hc11/mc68hc11.c b/src/emu/cpu/mc68hc11/mc68hc11.c index 9f1556c6ceb..544a4b42e1e 100644 --- a/src/emu/cpu/mc68hc11/mc68hc11.c +++ b/src/emu/cpu/mc68hc11/mc68hc11.c @@ -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); } } |