Add option to not write metadata dumping.

This commit is contained in:
2018-02-02 22:03:19 +00:00
parent efcf1720e2
commit 448d55b547
10 changed files with 650 additions and 637 deletions

View File

@@ -79,7 +79,7 @@ namespace DiscImageChef.Core.Devices.Dumping
string
outputPath, Dictionary<string, string> formatOptions,
CICMMetadataType
preSidecar, uint skip)
preSidecar, uint skip, bool nometadata)
{
MediaType dskType = MediaType.Unknown;
int resets = 0;
@@ -212,12 +212,12 @@ namespace DiscImageChef.Core.Devices.Dumping
case PeripheralDeviceTypes.MultiMediaDevice:
Mmc.Dump(dev, devicePath, outputPlugin, retryPasses, force, dumpRaw, persistent, stopOnError,
ref dskType, ref resume, ref dumpLog, dumpLeadIn, encoding, outputPrefix, outputPath,
formatOptions, preSidecar, skip);
formatOptions, preSidecar, skip, nometadata);
return;
default:
Sbc.Dump(dev, devicePath, outputPlugin, retryPasses, force, dumpRaw, persistent, stopOnError, null,
ref dskType, false, ref resume, ref dumpLog, encoding, outputPrefix, outputPath,
formatOptions, preSidecar, skip);
formatOptions, preSidecar, skip, nometadata);
break;
}
}