From e6aeb8412238597d6cc904cd0904c542f3ff93ee Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Sat, 7 Jun 2014 15:32:35 +0100 Subject: [PATCH] There can be empty tracks, ignore them. --- FileSystemIDandChk/ImagePlugins/TeleDisk.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FileSystemIDandChk/ImagePlugins/TeleDisk.cs b/FileSystemIDandChk/ImagePlugins/TeleDisk.cs index 279140b2..1d648524 100644 --- a/FileSystemIDandChk/ImagePlugins/TeleDisk.cs +++ b/FileSystemIDandChk/ImagePlugins/TeleDisk.cs @@ -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");