Update CICMMetadata version.

This commit is contained in:
2019-04-23 01:38:33 +01:00
parent 421ce1574b
commit ffd1cd6564
77 changed files with 2263 additions and 2230 deletions

View File

@@ -112,9 +112,9 @@ namespace DiscImageChef.Filesystems.UCSDPascal
XmlFsType = new FileSystemType
{
Bootable = !ArrayHelpers.ArrayIsNullOrEmpty(bootBlocks),
Clusters = mountedVolEntry.Blocks,
ClusterSize = (int)device.Info.SectorSize,
Files = mountedVolEntry.Files,
Clusters = (ulong)mountedVolEntry.Blocks,
ClusterSize = device.Info.SectorSize,
Files = (ulong)mountedVolEntry.Files,
FilesSpecified = true,
Type = "UCSD Pascal",
VolumeName = StringHandlers.PascalToString(mountedVolEntry.VolumeName, Encoding)
@@ -136,7 +136,7 @@ namespace DiscImageChef.Filesystems.UCSDPascal
{
stat = new FileSystemInfo
{
Blocks = mountedVolEntry.Blocks,
Blocks = (ulong)mountedVolEntry.Blocks,
FilenameLength = 16,
Files = (ulong)mountedVolEntry.Files,
FreeBlocks = 0,
@@ -144,9 +144,11 @@ namespace DiscImageChef.Filesystems.UCSDPascal
Type = "UCSD Pascal"
};
stat.FreeBlocks = mountedVolEntry.Blocks - (mountedVolEntry.LastBlock - mountedVolEntry.FirstBlock);
stat.FreeBlocks =
(ulong)(mountedVolEntry.Blocks - (mountedVolEntry.LastBlock - mountedVolEntry.FirstBlock));
foreach(PascalFileEntry entry in fileEntries) stat.FreeBlocks -= entry.LastBlock - entry.FirstBlock;
foreach(PascalFileEntry entry in fileEntries)
stat.FreeBlocks -= (ulong)(entry.LastBlock - entry.FirstBlock);
return Errno.NotImplemented;
}