1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-25 03:32:01 +00:00

Merge pull request #12 from TomHarte/FixedTests

Ensured that calling `return_from_subroutine` really does unjam the processor if required
This commit is contained in:
Thomas Harte 2016-05-10 21:45:24 -04:00
commit 93760bf8fa

View File

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