From c03eb54103f9535120805de6e2175b6a07f6b720 Mon Sep 17 00:00:00 2001 From: tomcw Date: Mon, 22 Jul 2019 19:32:25 +0100 Subject: [PATCH] WOZ: Extended latch delay for 'Wizardry III' and 'Space Quest I' copy-protection (#662, #669) --- source/Disk.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/Disk.cpp b/source/Disk.cpp index 7a79506e..4ac08a95 100644 --- a/source/Disk.cpp +++ b/source/Disk.cpp @@ -1151,8 +1151,7 @@ void __stdcall Disk2InterfaceCard::ReadWriteWOZ(WORD pc, WORD addr, BYTE bWrite, } else // m_shiftReg==0 { - if (m_latchDelay == 0) - m_latchDelay = 4; // extend for another 4us + m_latchDelay += 4; // extend by 4us (so 7us again) - GH#662 m_dbgLatchDelayedCnt++; #if LOG_DISK_NIBBLES_READ