mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-07-08 18:06:41 +00:00
Code originally by https://github.com/Dimensional and split off from https://github.com/SabreTools/SabreTools.Serialization/pull/85/
22 lines
724 B
C#
22 lines
724 B
C#
namespace SabreTools.Data.Models.NintendoDisc
|
||
{
|
||
/// <summary>
|
||
/// A single entry in the Wii disc partition table.
|
||
/// The table lives at 0x40000–0x4FFFF on the disc.
|
||
/// </summary>
|
||
/// <see href="https://wiibrew.org/wiki/Wii_disc#Partition_table"/>
|
||
public sealed class WiiPartitionTableEntry
|
||
{
|
||
/// <summary>
|
||
/// Absolute byte offset of the partition on the disc.
|
||
/// Stored on-disc as <c>offset >> 2</c> (big-endian u32).
|
||
/// </summary>
|
||
public long Offset { get; set; }
|
||
|
||
/// <summary>
|
||
/// Partition type: 0 = DATA, 1 = UPDATE, 2 = CHANNEL, or an ASCII title ID.
|
||
/// </summary>
|
||
public uint Type { get; set; }
|
||
}
|
||
}
|