Corrected typo in geometry calculation.

This commit is contained in:
2017-12-31 17:34:09 +00:00
parent 0e1d8b384b
commit 6bddd1759f
2 changed files with 2 additions and 2 deletions

View File

@@ -1083,7 +1083,7 @@ namespace DiscImageChef.DiscImages
imageInfo.Cylinders = (uint)(imageInfo.Sectors / imageInfo.Heads / imageInfo.SectorsPerTrack);
if(imageInfo.Sectors == 0 && imageInfo.Heads == 0 && imageInfo.SectorsPerTrack == 0) break;
if(imageInfo.Cylinders == 0 && imageInfo.Heads == 0 && imageInfo.SectorsPerTrack == 0) break;
}
descriptorStream.WriteLine("# Disk DescriptorFile");