2025-09-26 11:57:18 -04:00
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
2025-09-26 13:06:18 -04:00
|
|
|
namespace SabreTools.Data.Models.Nitro
|
2025-09-26 11:57:18 -04:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The structure of the file allocation table is very simple,
|
|
|
|
|
/// it's just a table of 8 byte entries
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <see href="https://github.com/Deijin27/RanseiLink/wiki/NDS-File-System"/>
|
|
|
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
|
|
|
public sealed class FileAllocationTableEntry
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Start offset of file
|
|
|
|
|
/// </summary>
|
|
|
|
|
public uint StartOffset;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// End offset of file (after this is padding)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public uint EndOffset;
|
|
|
|
|
}
|
2025-10-30 22:51:16 -04:00
|
|
|
}
|