mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Set image's tape mode when dumping SSC.
This commit is contained in:
@@ -547,7 +547,18 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
}
|
||||
}
|
||||
|
||||
bool ret = outputPlugin.Create(outputPath, dskType, formatOptions, 0, 0);
|
||||
bool ret = (outputPlugin as IWritableTapeImage).SetTape();
|
||||
// Cannot set image to tape mode
|
||||
if(!ret)
|
||||
{
|
||||
dumpLog.WriteLine("Error setting output image in tape mode, not continuing.");
|
||||
dumpLog.WriteLine(outputPlugin.ErrorMessage);
|
||||
StoppingErrorMessage?.Invoke("Error setting output image in tape mode, not continuing." + Environment.NewLine +
|
||||
outputPlugin.ErrorMessage);
|
||||
return;
|
||||
}
|
||||
|
||||
ret = outputPlugin.Create(outputPath, dskType, formatOptions, 0, 0);
|
||||
|
||||
// Cannot create image
|
||||
if(!ret)
|
||||
|
||||
Reference in New Issue
Block a user