From f66d870d749f35f825c16bfcf165d1de306afe5e Mon Sep 17 00:00:00 2001 From: michaelangel007 Date: Sun, 30 Apr 2023 14:55:00 -0700 Subject: [PATCH] Initialize all drives T/S status to unknown --- source/Windows/Win32Frame.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/Windows/Win32Frame.cpp b/source/Windows/Win32Frame.cpp index ce92112d..07903be6 100644 --- a/source/Windows/Win32Frame.cpp +++ b/source/Windows/Win32Frame.cpp @@ -62,6 +62,8 @@ Win32Frame::Win32Frame() for (UINT slot = SLOT0; slot < NUM_SLOTS; slot++) { + g_nTrack [slot][0] = -1; + g_nTrack [slot][1] = -1; g_nSector[slot][0] = -1; g_nSector[slot][1] = -1; }