Added support for deteting XA extensions in ISO9660.

This commit is contained in:
2017-10-09 02:26:45 +01:00
parent e491998062
commit 20e177e1e1
3 changed files with 73 additions and 4 deletions

View File

@@ -234,6 +234,7 @@ namespace DiscImageChef.Filesystems.ISO9660
public ushort volume_sequence_number;
public ushort volume_sequence_number_be;
public byte name_len;
// Followed by name[name_len] and then system area until length arrives
}
[StructLayout(LayoutKind.Sequential, Pack = 1)]
@@ -254,6 +255,7 @@ namespace DiscImageChef.Filesystems.ISO9660
public ushort volume_sequence_number;
public ushort volume_sequence_number_be;
public byte name_len;
// Followed by name[name_len] and then system area until length arrives
}
[StructLayout(LayoutKind.Sequential, Pack = 1)]
@@ -348,6 +350,18 @@ namespace DiscImageChef.Filesystems.ISO9660
public byte[] selection_criterias;
}
// Big-endian
[StructLayout(LayoutKind.Sequential, Pack = 1)]
struct CdromXa
{
public ushort group;
public ushort user;
public XaAttributes attributes;
public ushort signature;
public byte filenumber;
public byte[] reserved;
}
struct DecodedVolumeDescriptor
{
public string SystemIdentifier;