From e636ae37b4a37f8be9e24a2a5080f237005041b4 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 10 May 2016 21:44:11 -0400 Subject: [PATCH] Ensured that calling `return_from_subroutine` really does unjam the processor if required, causing all tests once again to pass. --- Processors/6502/CPU6502.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Processors/6502/CPU6502.hpp b/Processors/6502/CPU6502.hpp index 9fe488dae..f5d731daa 100644 --- a/Processors/6502/CPU6502.hpp +++ b/Processors/6502/CPU6502.hpp @@ -678,7 +678,7 @@ template 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;