mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
* DiscImageChef.Decoders/SCSI/MMC/Features.cs:
Correct math priority * DiscImageChef.Devices/Device/ScsiCommands.cs: Correct command size typo * DiscImageChef/Commands/DeviceInfo.cs: Add MMC GET CONFIGURATION
This commit is contained in:
@@ -494,7 +494,7 @@ namespace DiscImageChef.Devices
|
||||
if (sense)
|
||||
return true;
|
||||
|
||||
ushort confLength = (ushort)(((int)buffer[2] << 8) + buffer[3] + 2);
|
||||
ushort confLength = (ushort)(((int)buffer[2] << 8) + buffer[3] + 4);
|
||||
buffer = new byte[confLength];
|
||||
cdb[7] = (byte)((buffer.Length & 0xFF00) >> 8);
|
||||
cdb[8] = (byte)(buffer.Length & 0xFF);
|
||||
|
||||
Reference in New Issue
Block a user