mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Corrected directory entry.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user