diff options
author | Lioncash <mathew1800@gmail.com> | 2018-12-05 00:05:01 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-12-05 00:05:04 -0500 |
commit | 817fb18e302fc2ddbdfdd7b84c0ee200500ba54c (patch) | |
tree | 9b132213a65fd36fe85ac82a8db950665313b8e6 /src | |
parent | d08d4a366b70751cfbbbbb1844df3f62fd0da8a1 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/service/ldr/ldr.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/ldr/ldr.cpp b/src/core/hle/service/ldr/ldr.cpp index ca119dd3a..2f6613476 100644 --- a/src/core/hle/service/ldr/ldr.cpp +++ b/src/core/hle/service/ldr/ldr.cpp @@ -436,9 +436,10 @@ private: struct NRRHeader { u32_le magic; - INSERT_PADDING_BYTES(0x1C); + INSERT_PADDING_BYTES(12); u64_le title_id_mask; u64_le title_id_pattern; + INSERT_PADDING_BYTES(16); std::array<u8, 0x100> modulus; std::array<u8, 0x100> signature_1; std::array<u8, 0x100> signature_2; |