1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-10-04 01:57:54 +00:00

Avoid erroneous Nick delays.

This commit is contained in:
Thomas Harte 2021-07-06 22:28:44 -04:00
parent 1ec8ff20af
commit 55af8fa5d9

View File

@ -276,8 +276,10 @@ template <bool has_disk_controller> class ConcreteMachine:
} }
break; break;
case PartialMachineCycle::ReadOpcodeStart: case PartialMachineCycle::ReadOpcodeStart:
if(!is_video_[address >> 14] && wait_mode_ != WaitMode::None) { if(!is_video_[address >> 14]) {
penalty = dave_delay_; if(wait_mode_ != WaitMode::None) {
penalty = dave_delay_;
}
} else { } else {
// Query Nick for the amount of delay that would occur with one cycle left // Query Nick for the amount of delay that would occur with one cycle left
// in this read opcode. // in this read opcode.