Manually mark manufacturer as "ATA" on Windows so it becomes treated like that.

This commit is contained in:
2017-09-10 18:15:44 +01:00
parent 74674c0213
commit b21c6f2c63

View File

@@ -196,8 +196,6 @@ namespace DiscImageChef.Devices
break;
}
System.Console.WriteLine("{0}", type);
if(type == DeviceType.SCSI || type == DeviceType.ATAPI)
scsiSense = ScsiInquiry(out inqBuf, out senseBuf);
else if(type == DeviceType.ATA)
@@ -212,6 +210,8 @@ namespace DiscImageChef.Devices
if (ATAID.HasValue)
scsiSense = ScsiInquiry(out inqBuf, out senseBuf);
}
else
manufacturer = "ATA";
}
}
@@ -449,7 +449,7 @@ namespace DiscImageChef.Devices
}
}
if((scsiSense && (usb || firewire)) || manufacturer == "ATA")
if ((scsiSense && (usb || firewire)) || manufacturer == "ATA")
{
bool ataSense = AtaIdentify(out ataBuf, out errorRegisters);
if(!ataSense)