Support FATX volume label.

This commit is contained in:
2019-04-06 12:35:47 +01:00
parent b9f389b13b
commit 2e7f2cd6fe
2 changed files with 25 additions and 8 deletions

View File

@@ -39,11 +39,13 @@ namespace DiscImageChef.Filesystems.FATX
[StructLayout(LayoutKind.Sequential, Pack = 1)]
struct Superblock
{
public uint magic;
public uint id;
public uint sectorsPerCluster;
public uint rootDirectoryCluster;
public ushort unknown;
public uint magic;
public uint id;
public uint sectorsPerCluster;
public uint rootDirectoryCluster;
// TODO: Undetermined size
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 32)]
public byte[] volumeLabel;
}
[StructLayout(LayoutKind.Sequential, Pack = 1)]