mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
* DiscImageChef/Commands/MediaInfo.cs:
* DiscImageChef/Commands/DeviceInfo.cs: Added support for SCSI sequential devices. * DiscImageChef.Decoders/SCSI/SSC/BlockLimits.cs: * DiscImageChef.Decoders/SCSI/SSC/DensitySupport.cs: * DiscImageChef.Decoders/DiscImageChef.Decoders.csproj: Added decoders for SCSI SSC READ BLOCK LIMITS and REPORT DENSITY SUPPORT. * DiscImageChef.Devices/Device/ScsiCommands/SSC.cs: Corrected ReportDensitySupport. * DiscImageChef.Decoders/SCSI/Modes.cs: Corrected mode size.
This commit is contained in:
@@ -892,9 +892,9 @@ namespace DiscImageChef.Devices
|
||||
bool sense;
|
||||
|
||||
cdb[0] = (byte)ScsiCommands.ReportDensitySupport;
|
||||
if (mediumType)
|
||||
cdb[1] += 0x01;
|
||||
if (currentMedia)
|
||||
cdb[1] += 0x01;
|
||||
if (mediumType)
|
||||
cdb[1] += 0x02;
|
||||
cdb[7] = (byte)((buffer.Length & 0xFF00) >> 8);
|
||||
cdb[8] = (byte)(buffer.Length & 0xFF);
|
||||
|
||||
Reference in New Issue
Block a user