Implemented SCSI VPDs 0x00 to 0x80.

This commit is contained in:
2015-10-19 04:32:16 +01:00
parent 2a416eef37
commit ac491f6f5c
7 changed files with 242 additions and 32 deletions

View File

@@ -174,7 +174,7 @@ namespace DiscImageChef.Devices
if (sense)
return true;
byte pagesLength = (byte)(buffer[4] + 5);
byte pagesLength = (byte)(buffer[3] + 4);
cdb = new byte[] { (byte)Enums.ScsiCommands.Inquiry, 1, page, 0, pagesLength, 0 };
buffer = new byte[pagesLength];