mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add option to skip more sectors than tried to read when a bad sector is found.
This commit is contained in:
@@ -84,7 +84,7 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
string
|
||||
outputPrefix, string outputPath, Dictionary<string, string> formatOptions,
|
||||
CICMMetadataType
|
||||
preSidecar)
|
||||
preSidecar, uint skip)
|
||||
{
|
||||
bool sense;
|
||||
ulong blocks;
|
||||
@@ -200,7 +200,7 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
{
|
||||
CompactDisc.Dump(dev, devicePath, outputPlugin, retryPasses, force, dumpRaw, persistent, stopOnError,
|
||||
ref dskType, ref resume, ref dumpLog, dumpLeadIn, encoding, outputPrefix, outputPath,
|
||||
formatOptions, preSidecar);
|
||||
formatOptions, preSidecar, skip);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -602,13 +602,13 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
{
|
||||
Xgd.Dump(dev, devicePath, outputPlugin, retryPasses, force, dumpRaw, persistent, stopOnError, mediaTags,
|
||||
ref dskType, ref resume, ref dumpLog, encoding, outputPrefix, outputPath, formatOptions,
|
||||
preSidecar);
|
||||
preSidecar, skip);
|
||||
return;
|
||||
}
|
||||
|
||||
Sbc.Dump(dev, devicePath, outputPlugin, retryPasses, force, dumpRaw, persistent, stopOnError, mediaTags,
|
||||
ref dskType, true, ref resume, ref dumpLog, encoding, outputPrefix, outputPath, formatOptions,
|
||||
preSidecar);
|
||||
preSidecar, skip);
|
||||
}
|
||||
|
||||
internal static void AddMediaTagToSidecar(string outputPath,
|
||||
@@ -798,8 +798,8 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
{
|
||||
new BorderType
|
||||
{
|
||||
Image = outputPath,
|
||||
Size = tag.Value.Length,
|
||||
Image = outputPath,
|
||||
Size = tag.Value.Length,
|
||||
Checksums = Checksum.GetChecksums(tag.Value).ToArray()
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user