1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-27 01:31:42 +00:00

Corrects interrupt level test within STOP.

This commit is contained in:
Thomas Harte 2019-04-30 19:32:35 -04:00
parent 31bb770fdd
commit f1879c5fbc

View File

@ -55,7 +55,7 @@ template <class T, bool dtack_is_implicit, bool signal_will_perform> void Proces
case ExecutionState::Stopped:
// If an interrupt (TODO: or reset) has finally arrived that will be serviced,
// exit the STOP.
if(bus_interrupt_level_ >= interrupt_level_) {
if(bus_interrupt_level_ > interrupt_level_) {
execution_state_ = ExecutionState::Executing;
break;
}