mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
service/ldr: Corrent padding within the NRR header layout
The padding after the magic signature value should be 12 bytes rather than 28 bytes. The other 16 should be placed after the title ID pattern.
This commit is contained in:
parent
d08d4a366b
commit
817fb18e30
1 changed files with 2 additions and 1 deletions
|
@ -436,9 +436,10 @@ private:
|
||||||
|
|
||||||
struct NRRHeader {
|
struct NRRHeader {
|
||||||
u32_le magic;
|
u32_le magic;
|
||||||
INSERT_PADDING_BYTES(0x1C);
|
INSERT_PADDING_BYTES(12);
|
||||||
u64_le title_id_mask;
|
u64_le title_id_mask;
|
||||||
u64_le title_id_pattern;
|
u64_le title_id_pattern;
|
||||||
|
INSERT_PADDING_BYTES(16);
|
||||||
std::array<u8, 0x100> modulus;
|
std::array<u8, 0x100> modulus;
|
||||||
std::array<u8, 0x100> signature_1;
|
std::array<u8, 0x100> signature_1;
|
||||||
std::array<u8, 0x100> signature_2;
|
std::array<u8, 0x100> signature_2;
|
||||||
|
|
Loading…
Reference in a new issue