Corrected XML clusters count.

This commit is contained in:
2017-07-25 03:27:36 +01:00
parent 346446c6dc
commit e646097a55

View File

@@ -236,7 +236,7 @@ namespace DiscImageChef.Filesystems
xmlFSType.CreationDateSpecified = true; xmlFSType.CreationDateSpecified = true;
xmlFSType.FreeClusters = rootBlock.blocksfree; xmlFSType.FreeClusters = rootBlock.blocksfree;
xmlFSType.FreeClustersSpecified = true; xmlFSType.FreeClustersSpecified = true;
xmlFSType.Clusters = rootBlock.diskSize / imagePlugin.GetSectorSize(); xmlFSType.Clusters = rootBlock.diskSize;
xmlFSType.ClusterSize = (int)imagePlugin.GetSectorSize(); xmlFSType.ClusterSize = (int)imagePlugin.GetSectorSize();
xmlFSType.VolumeName = StringHandlers.PascalToString(rootBlock.diskname, CurrentEncoding); xmlFSType.VolumeName = StringHandlers.PascalToString(rootBlock.diskname, CurrentEncoding);
} }