From c465f35833616ab6f0a3a73132c49592858cb53c Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Tue, 7 May 2019 01:22:30 +0100 Subject: [PATCH] Set default on SSC LOCATE to not change partition. --- DiscImageChef.Devices/Device/ScsiCommands/SSC.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/DiscImageChef.Devices/Device/ScsiCommands/SSC.cs b/DiscImageChef.Devices/Device/ScsiCommands/SSC.cs index 2f9153a90..3bd5b772f 100644 --- a/DiscImageChef.Devices/Device/ScsiCommands/SSC.cs +++ b/DiscImageChef.Devices/Device/ScsiCommands/SSC.cs @@ -103,7 +103,7 @@ namespace DiscImageChef.Devices /// Timeout. /// Duration. public bool Locate(out byte[] senseBuffer, uint lba, uint timeout, out double duration) => - Locate(out senseBuffer, false, false, true, 0, lba, timeout, out duration); + Locate(out senseBuffer, false, false, false, 0, lba, timeout, out duration); /// /// Positions the medium to the specified block in the specified partition @@ -114,7 +114,7 @@ namespace DiscImageChef.Devices /// Timeout. /// Duration. public bool Locate(out byte[] senseBuffer, byte partition, uint lba, uint timeout, out double duration) => - Locate(out senseBuffer, false, false, true, partition, lba, timeout, out duration); + Locate(out senseBuffer, false, false, false, partition, lba, timeout, out duration); /// /// Positions the medium to the specified block in the current partition @@ -125,7 +125,7 @@ namespace DiscImageChef.Devices /// Timeout. /// Duration. public bool Locate(out byte[] senseBuffer, bool immediate, uint lba, uint timeout, out double duration) => - Locate(out senseBuffer, immediate, false, true, 0, lba, timeout, out duration); + Locate(out senseBuffer, immediate, false, false, 0, lba, timeout, out duration); /// /// Positions the medium to the specified block in the specified partition @@ -138,7 +138,7 @@ namespace DiscImageChef.Devices /// Duration. public bool Locate(out byte[] senseBuffer, bool immediate, byte partition, uint lba, uint timeout, out double duration) => - Locate(out senseBuffer, immediate, false, true, partition, lba, timeout, out duration); + Locate(out senseBuffer, immediate, false, false, partition, lba, timeout, out duration); /// /// Positions the medium to the specified object identifier @@ -197,7 +197,7 @@ namespace DiscImageChef.Devices /// Timeout. /// Duration. public bool Locate16(out byte[] senseBuffer, byte partition, ulong lba, uint timeout, out double duration) => - Locate16(out senseBuffer, false, true, SscLogicalIdTypes.ObjectId, false, partition, lba, timeout, + Locate16(out senseBuffer, false, false, SscLogicalIdTypes.ObjectId, false, partition, lba, timeout, out duration); /// @@ -223,7 +223,7 @@ namespace DiscImageChef.Devices /// Duration. public bool Locate16(out byte[] senseBuffer, bool immediate, byte partition, ulong lba, uint timeout, out double duration) => - Locate16(out senseBuffer, immediate, true, SscLogicalIdTypes.ObjectId, false, partition, lba, timeout, + Locate16(out senseBuffer, immediate, false, SscLogicalIdTypes.ObjectId, false, partition, lba, timeout, out duration); ///