From 5ddff0d688e29e5d32b5ea025ca62dc1e158fe4c Mon Sep 17 00:00:00 2001 From: tomcw Date: Mon, 3 Dec 2018 21:36:54 +0000 Subject: [PATCH] DiskII: read write protect - fix spinning test --- source/Disk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Disk.cpp b/source/Disk.cpp index 06cb34dc..b07f16ab 100644 --- a/source/Disk.cpp +++ b/source/Disk.cpp @@ -1058,7 +1058,7 @@ static void __stdcall DiskLoadWriteProtect(WORD, WORD, BYTE write, BYTE value, U // Don't change latch if drive off after 1 second drive-off delay (UTAIIe page 9-13) // "DRIVES OFF forces the data register to hold its present state." (UTAIIe page 9-12) // Note: Gemstone Warrior sets load mode with the drive off. - if (g_aFloppyDrive[currdrive].spinning) // GH#599 + if (!g_aFloppyDrive[currdrive].spinning) // GH#599 return; if (!write)