Separate SCSI READ(6) from ATA READ SECTORS in device report.

This commit is contained in:
2018-11-25 18:10:32 +00:00
parent fda70e52ee
commit 601da83a93
4 changed files with 13 additions and 11 deletions

View File

@@ -1008,8 +1008,8 @@ namespace DiscImageChef.Core.Devices.Report.SCSI
}
DicConsole.WriteLine("Trying SCSI READ (6)...");
mediaTest.SupportsRead = !dev.Read6(out buffer, out senseBuffer, 0, 2048, TIMEOUT, out _);
DicConsole.DebugWriteLine("SCSI Report", "Sense = {0}", !mediaTest.SupportsRead);
mediaTest.SupportsRead6 = !dev.Read6(out buffer, out senseBuffer, 0, 2048, TIMEOUT, out _);
DicConsole.DebugWriteLine("SCSI Report", "Sense = {0}", !mediaTest.SupportsRead6);
if(debug)
DataFile.WriteTo("SCSI Report", "read6",
"_debug_" + productIdentification + "_" + mediaType + ".bin",