Move MediaTypeFromSCSI to MediaTypeFromDevice.

This commit is contained in:
2020-01-31 23:13:11 +00:00
parent 9fa8b52217
commit b175aeb79f
7 changed files with 14 additions and 14 deletions

View File

@@ -988,9 +988,9 @@ namespace DiscImageChef.DiscImages
imageInfo.DriveFirmwareRevision =
StringHandlers.CToString(scsiInq.Value.ProductRevisionLevel).Trim();
imageInfo.MediaType = MediaTypeFromScsi.Get((byte)devType, imageInfo.DriveManufacturer,
imageInfo.DriveModel, mediumType, densityCode,
imageInfo.Sectors, imageInfo.SectorSize);
imageInfo.MediaType = MediaTypeFromDevice.GetFromScsi((byte)devType, imageInfo.DriveManufacturer,
imageInfo.DriveModel, mediumType, densityCode,
imageInfo.Sectors, imageInfo.SectorSize);
}
if(imageInfo.MediaType == MediaType.Unknown)