From 55af8fa5d90b054e362965176fd312ed70df37fa Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Tue, 6 Jul 2021 22:28:44 -0400 Subject: [PATCH] Avoid erroneous Nick delays. --- Machines/Enterprise/Enterprise.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Machines/Enterprise/Enterprise.cpp b/Machines/Enterprise/Enterprise.cpp index 5e255686d..f02a24c70 100644 --- a/Machines/Enterprise/Enterprise.cpp +++ b/Machines/Enterprise/Enterprise.cpp @@ -276,8 +276,10 @@ template class ConcreteMachine: } break; case PartialMachineCycle::ReadOpcodeStart: - if(!is_video_[address >> 14] && wait_mode_ != WaitMode::None) { - penalty = dave_delay_; + if(!is_video_[address >> 14]) { + if(wait_mode_ != WaitMode::None) { + penalty = dave_delay_; + } } else { // Query Nick for the amount of delay that would occur with one cycle left // in this read opcode.