There can be empty tracks, ignore them.

This commit is contained in:
2014-06-07 15:32:35 +01:00
parent 6874ea8de2
commit e6aeb84122

View File

@@ -452,7 +452,7 @@ namespace FileSystemIDandChk.ImagePlugins
break;
}
if (spt != TDTrack.sectors)
if (spt != TDTrack.sectors && TDTrack.sectors > 0)
{
if (spt != 0)
throw new FeatureUnsupportedImageException("Variable number of sectors per track. This kind of image is not yet supported");