Fixed warning when LOG_DISK_ENABLED isn't defined

This commit is contained in:
tomcw 2020-02-23 13:23:48 +00:00
parent b84bb97aa1
commit 2f9ba13216
1 changed files with 2 additions and 0 deletions

View File

@ -272,7 +272,9 @@ void FormatTrack::DecodeLatchNibble(BYTE floppylatch, bool bIsWrite, bool bIsSyn
sprintf_s(str, sizeof(str), "read D5AA%02X detected - Vol:%02X Trk:%02X Sec:%02X Chk:%02X %s", addrPrologue, m_VolTrkSecChk[0], m_VolTrkSecChk[1], m_VolTrkSecChk[2], m_VolTrkSecChk[3], chk?"":"(bad)");
m_strReadD5AAxxDetected = str;
if (!m_bSuppressReadD5AAxxDetected)
{
LOG_DISK("%s\r\n", str);
}
}
#endif
#if LOG_DISK_NIBBLES_WRITE