mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Added support for Apple Extensions to ISO 9660.
This commit is contained in:
@@ -363,6 +363,72 @@ namespace DiscImageChef.Filesystems.ISO9660
|
||||
public byte[] reserved;
|
||||
}
|
||||
|
||||
// Little-endian
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
struct AppleProDOSSystemUse
|
||||
{
|
||||
public ushort signature;
|
||||
public byte length;
|
||||
public AppleId id;
|
||||
public byte type;
|
||||
public ushort aux_type;
|
||||
}
|
||||
|
||||
// Big-endian
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
struct AppleHFSSystemUse
|
||||
{
|
||||
public ushort signature;
|
||||
public byte length;
|
||||
public AppleId id;
|
||||
public ushort type;
|
||||
public ushort creator;
|
||||
public ushort finder_flags;
|
||||
}
|
||||
|
||||
// Little-endian
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
struct AppleProDOSOldSystemUse
|
||||
{
|
||||
public ushort signature;
|
||||
public AppleOldId id;
|
||||
public byte type;
|
||||
public ushort aux_type;
|
||||
}
|
||||
|
||||
// Big-endian
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
struct AppleHFSTypeCreatorSystemUse
|
||||
{
|
||||
public ushort signature;
|
||||
public AppleOldId id;
|
||||
public ushort type;
|
||||
public ushort creator;
|
||||
}
|
||||
|
||||
// Big-endian
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
struct AppleHFSIconSystemUse
|
||||
{
|
||||
public ushort signature;
|
||||
public AppleOldId id;
|
||||
public ushort type;
|
||||
public ushort creator;
|
||||
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 128)]
|
||||
public byte[] icon;
|
||||
}
|
||||
|
||||
// Big-endian
|
||||
[StructLayout(LayoutKind.Sequential, Pack = 1)]
|
||||
struct AppleHFSOldSystemUse
|
||||
{
|
||||
public ushort signature;
|
||||
public AppleOldId id;
|
||||
public ushort type;
|
||||
public ushort creator;
|
||||
public ushort finder_flags;
|
||||
}
|
||||
|
||||
struct DecodedVolumeDescriptor
|
||||
{
|
||||
public string SystemIdentifier;
|
||||
|
||||
Reference in New Issue
Block a user