Fix system area calculation padding.

This commit is contained in:
2019-07-28 14:03:38 +01:00
parent 429c524b09
commit 7711685439

View File

@@ -192,6 +192,12 @@ namespace DiscImageChef.Filesystems.ISO9660
int systemAreaStart = entryOff + record.name_len + Marshal.SizeOf<DirectoryRecord>();
int systemAreaLength = record.length - record.name_len - Marshal.SizeOf<DirectoryRecord>();
if(systemAreaStart % 2 != 0)
{
systemAreaStart++;
systemAreaLength--;
}
bool hasResourceFork = false;
if(systemAreaLength > 2)