* DiscImageChef.Devices/Device/ScsiCommands.cs:

Corrected typo.

	* DiscImageChef/Commands/DeviceInfo.cs:
	  Decode SCSI sense.
This commit is contained in:
2015-11-23 05:15:37 +00:00
parent 0ebbd87548
commit be93167b26
4 changed files with 12 additions and 7 deletions

View File

@@ -522,7 +522,7 @@ namespace DiscImageChef.Devices
cdb[0] = (byte)ScsiCommands.ReadDiscStructure;
cdb[1] = (byte)((byte)mediaType & 0x0F);
cdb[2] = (byte)((address & 0xFF000000) >> 24);
cdb[2] = (byte)((address & 0xFF0000) >> 16);
cdb[3] = (byte)((address & 0xFF0000) >> 16);
cdb[4] = (byte)((address & 0xFF00) >> 8);
cdb[5] = (byte)(address & 0xFF);
cdb[6] = layerNumber;