Added support for the CD-i filesystem described in Green Book.

This commit is contained in:
2017-10-13 21:50:10 +01:00
parent fc81e207a9
commit 432fa4258b
7 changed files with 294 additions and 6 deletions

View File

@@ -186,6 +186,17 @@ namespace DiscImageChef.Filesystems.ISO9660
public ushort app_use_len_be;
}
// There are two tables one in little endian one in big endian
[StructLayout(LayoutKind.Sequential, Pack = 1)]
struct PathTableEntry
{
public byte name_len;
public byte xattr_len;
public uint start_lbn;
public ushort parent_dirno;
// Followed by name[name_len]
}
static DecodedVolumeDescriptor DecodeVolumeDescriptor(PrimaryVolumeDescriptor pvd)
{
DecodedVolumeDescriptor decodedVD = new DecodedVolumeDescriptor();