mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Corrected XML cluster count for metadata XML.
This commit is contained in:
@@ -921,7 +921,7 @@ namespace DiscImageChef.Filesystems.CPM
|
|||||||
xmlFSType.Bootable |= (workingDefinition.sofs > 0 || workingDefinition.ofs > 0);
|
xmlFSType.Bootable |= (workingDefinition.sofs > 0 || workingDefinition.ofs > 0);
|
||||||
xmlFSType.ClusterSize = 128 << dpb.bsh;
|
xmlFSType.ClusterSize = 128 << dpb.bsh;
|
||||||
if(dpb.dsm > 0)
|
if(dpb.dsm > 0)
|
||||||
xmlFSType.Clusters = ((dpb.dsm + 1) * 128) / (128 << dpb.bsh);
|
xmlFSType.Clusters = dpb.dsm;
|
||||||
else
|
else
|
||||||
xmlFSType.Clusters = (long)(partition.End - partition.Start);
|
xmlFSType.Clusters = (long)(partition.End - partition.Start);
|
||||||
if(labelCreationDate != null)
|
if(labelCreationDate != null)
|
||||||
|
|||||||
Reference in New Issue
Block a user