mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-09-23 23:25:35 +00:00
23 lines
716 B
C#
23 lines
716 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace SabreTools.Models.N3DS
|
|
{
|
|
/// <see href="https://www.3dbrew.org/wiki/NCCH/Extended_Header#ARM9_Access_Control"/>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public sealed class ARM9AccessControl
|
|
{
|
|
/// <summary>
|
|
/// Descriptors
|
|
/// </summary>
|
|
/// <remarks>15 bytes</remarks>
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 15)]
|
|
public byte[]? Descriptors;
|
|
|
|
/// <summary>
|
|
/// ARM9 Descriptor Version. Originally this value had to be ≥ 2.
|
|
/// Starting with 9.3.0-X this value has to be either value 2 or value 3.
|
|
/// </summary>
|
|
public byte DescriptorVersion;
|
|
}
|
|
}
|