Fix typo in INQUIRY reported size with calculated size.

This commit is contained in:
2019-03-26 19:22:22 +00:00
parent e3f958230f
commit 5f68a31fbc

View File

@@ -67,7 +67,7 @@ namespace DiscImageChef.Decoders.SCSI
return null;
}
if(SCSIInquiryResponse.Length < SCSIInquiryResponse[4] + 5 &&
if(SCSIInquiryResponse.Length < SCSIInquiryResponse[4] + 4 &&
SCSIInquiryResponse.Length != SCSIInquiryResponse[4])
{
DicConsole.DebugWriteLine("SCSI INQUIRY decoder",