mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
When PhysicalInterface MMC feature is unknown, store integer value separately in the report.
This commit is contained in:
@@ -183,6 +183,12 @@ namespace DiscImageChef.Core.Devices.Report.SCSI
|
||||
{
|
||||
report.SCSI.MultiMediaDevice.Features.PhysicalInterfaceStandard = ftr0001.Value.PhysicalInterfaceStandard;
|
||||
report.SCSI.MultiMediaDevice.Features.PhysicalInterfaceStandardSpecified = true;
|
||||
if((uint)ftr0001.Value.PhysicalInterfaceStandard > 0x8)
|
||||
{
|
||||
report.SCSI.MultiMediaDevice.Features.PhysicalInterfaceStandardNumber = (uint)ftr0001.Value.PhysicalInterfaceStandard;
|
||||
report.SCSI.MultiMediaDevice.Features.PhysicalInterfaceStandardNumberSpecified = true;
|
||||
report.SCSI.MultiMediaDevice.Features.PhysicalInterfaceStandard = Decoders.SCSI.MMC.PhysicalInterfaces.Unspecified;
|
||||
}
|
||||
report.SCSI.MultiMediaDevice.Features.SupportsDeviceBusyEvent = ftr0001.Value.DBE;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user