Add writing support to QEMU Enhanced Disk image.

This commit is contained in:
2018-01-17 14:59:05 +00:00
parent 4bb8b41363
commit eb92cd0602
2 changed files with 374 additions and 111 deletions

View File

@@ -386,7 +386,7 @@ namespace DiscImageChef.DiscImages
public bool Create(string path, MediaType mediaType, Dictionary<string, string> options, ulong sectors,
uint sectorSize)
{
if(sectorSize == 0)
if(sectorSize != 512)
{
ErrorMessage = "Unsupported sector size";
return false;