mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-21 21:33:54 +00:00
Short-circuit non-interrupts.
This commit is contained in:
parent
051f0546c7
commit
12846317cb
@ -687,6 +687,9 @@ template <bool has_scsi_bus> class ConcreteMachine:
|
|||||||
}
|
}
|
||||||
|
|
||||||
inline void signal_interrupt(Interrupt interrupt) {
|
inline void signal_interrupt(Interrupt interrupt) {
|
||||||
|
if(!interrupt) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
interrupt_status_ |= interrupt;
|
interrupt_status_ |= interrupt;
|
||||||
evaluate_interrupts();
|
evaluate_interrupts();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user