diff --git a/Machines/Enterprise/Enterprise.cpp b/Machines/Enterprise/Enterprise.cpp index 5e255686d..5abb4d3f6 100644 --- a/Machines/Enterprise/Enterprise.cpp +++ b/Machines/Enterprise/Enterprise.cpp @@ -276,14 +276,14 @@ template class ConcreteMachine: } break; case PartialMachineCycle::ReadOpcodeStart: - if(!is_video_[address >> 14] && wait_mode_ != WaitMode::None) { - penalty = dave_delay_; - } else { + if(is_video_[address >> 14]) { // Query Nick for the amount of delay that would occur with one cycle left // in this read opcode. const auto delay_time = nick_.time_since_flush(HalfCycles(2)); const auto delay = nick_.last_valid()->get_time_until_z80_slot(delay_time); penalty = nick_.back_map(delay, delay_time); + } else if(wait_mode_ != WaitMode::None) { + penalty = dave_delay_; } break;