mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Decode "PX" system area.
This commit is contained in:
@@ -435,6 +435,24 @@ namespace DiscImageChef.Filesystems.ISO9660
|
||||
|
||||
break;
|
||||
case RRIP_POSIX_ATTRIBUTES:
|
||||
byte pxLength = data[systemAreaOff + 2];
|
||||
|
||||
if(pxLength == 36)
|
||||
entry.PosixAttributesOld =
|
||||
Marshal.ByteArrayToStructureLittleEndian<PosixAttributesOld>(data, systemAreaOff,
|
||||
Marshal
|
||||
.SizeOf<
|
||||
PosixAttributesOld
|
||||
>());
|
||||
else if(pxLength >= 44)
|
||||
entry.PosixAttributes =
|
||||
Marshal.ByteArrayToStructureLittleEndian<PosixAttributes>(data, systemAreaOff,
|
||||
Marshal
|
||||
.SizeOf<PosixAttributes
|
||||
>());
|
||||
|
||||
systemAreaOff += pxLength;
|
||||
break;
|
||||
case RRIP_POSIX_DEV_NO:
|
||||
case RRIP_SYMLINK:
|
||||
case RRIP_NAME:
|
||||
|
||||
Reference in New Issue
Block a user