mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Corrected typo in geometry calculation.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user