1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-05 10:28:58 +00:00

Ensured that calling return_from_subroutine really does unjam the processor if required, causing all tests once again to pass.

This commit is contained in:
Thomas Harte 2016-05-10 21:44:11 -04:00
parent 5a4262d74e
commit e636ae37b4

View File

@ -678,7 +678,7 @@ template <class T> class Processor {
if(_jam_handler) {
_jam_handler->processor_did_jam(this, _pc.full - 1);
checkSchedule(_is_jammed = false);
checkSchedule(_is_jammed = false; program = _scheduledPrograms[scheduleProgramsReadPointer]);
}
} break;