mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix clusters calculation in Xbox FAT's stat.
This commit is contained in:
@@ -147,6 +147,8 @@ namespace DiscImageChef.Filesystems.FATX
|
||||
.AddYears(20)
|
||||
};
|
||||
|
||||
if(entry.length % bytesPerCluster > 0) stat.Blocks++;
|
||||
|
||||
if(entry.attributes.HasFlag(Attributes.Directory))
|
||||
{
|
||||
stat.Attributes |= FileAttributes.Directory;
|
||||
|
||||
Reference in New Issue
Block a user