Corrected directory entry.

This commit is contained in:
2016-07-22 23:03:27 +01:00
parent 679f99cb37
commit 6c50cccacd
2 changed files with 5 additions and 5 deletions

View File

@@ -153,8 +153,8 @@ namespace DiscImageChef.Filesystems.LisaFS
entry.fileID = BigEndianBitConverter.ToInt16(buf, offset + 0x26); entry.fileID = BigEndianBitConverter.ToInt16(buf, offset + 0x26);
entry.dtc = BigEndianBitConverter.ToUInt32(buf, offset + 0x28); entry.dtc = BigEndianBitConverter.ToUInt32(buf, offset + 0x28);
entry.dtm = BigEndianBitConverter.ToUInt32(buf, offset + 0x2C); entry.dtm = BigEndianBitConverter.ToUInt32(buf, offset + 0x2C);
entry.wasted = BigEndianBitConverter.ToInt32(buf, offset + 0x30); entry.length = BigEndianBitConverter.ToInt32(buf, offset + 0x30);
entry.length = BigEndianBitConverter.ToInt32(buf, offset + 0x34); entry.wasted = BigEndianBitConverter.ToInt32(buf, offset + 0x34);
entry.tail = new byte[8]; entry.tail = new byte[8];
Array.Copy(buf, offset + 0x38, entry.tail, 0, 8); Array.Copy(buf, offset + 0x38, entry.tail, 0, 8);
catalog.Add(entry); catalog.Add(entry);

View File

@@ -247,10 +247,10 @@ namespace DiscImageChef.Filesystems.LisaFS
public UInt32 dtc; public UInt32 dtc;
/// <summary>0x2C, last modification date</summary> /// <summary>0x2C, last modification date</summary>
public UInt32 dtm; public UInt32 dtm;
/// <summary>0x30, file length in bytes, including wasted block space</summary> /// <summary>0x30, file length in bytes</summary>
public Int32 wasted;
/// <summary>0x34, file length in bytes</summary>
public Int32 length; public Int32 length;
/// <summary>0x34, file length in bytes, including wasted block space</summary>
public Int32 wasted;
/// <summary>0x38, unknown</summary> /// <summary>0x38, unknown</summary>
public byte[] tail; public byte[] tail;
} }