mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-19 16:41:41 +00:00
a78a69a6e7
* Update NRR structs This was based on Switchbrew page: switchbrew.org/wiki/NRR * Address review comments
23 lines
534 B
C#
23 lines
534 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Ro
|
|
{
|
|
[StructLayout(LayoutKind.Explicit, Size = 0x220)]
|
|
unsafe struct NRRCertification
|
|
{
|
|
[FieldOffset(0)]
|
|
public ulong ApplicationIdMask;
|
|
|
|
[FieldOffset(0x8)]
|
|
public ulong ApplicationIdPattern;
|
|
|
|
[FieldOffset(0x10)]
|
|
public fixed byte Reserved[0x10];
|
|
|
|
[FieldOffset(0x20)]
|
|
public fixed byte Modulus[0x100];
|
|
|
|
[FieldOffset(0x120)]
|
|
public fixed byte Signature[0x100];
|
|
}
|
|
}
|