1
0
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:
Thomas Harte 2024-08-26 21:13:25 -04:00
parent 051f0546c7
commit 12846317cb

View File

@ -687,6 +687,9 @@ template <bool has_scsi_bus> class ConcreteMachine:
}
inline void signal_interrupt(Interrupt interrupt) {
if(!interrupt) {
return;
}
interrupt_status_ |= interrupt;
evaluate_interrupts();
}