Add support for setting sector size on IWritableImage.

This commit is contained in:
2017-12-30 16:08:59 +00:00
parent 923ed6673a
commit 1c98756b97
3 changed files with 13 additions and 4 deletions

View File

@@ -192,7 +192,7 @@ namespace DiscImageChef.Commands
}
if(!outputFormat.Create(options.OutputFile, inputFormat.Info.MediaType, new Dictionary<string, string>(),
inputFormat.Info.Sectors))
inputFormat.Info.Sectors, inputFormat.Info.SectorSize))
{
DicConsole.ErrorWriteLine("Error {0} creating output image.", outputFormat.ErrorMessage);
return;