summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ldr
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-12-05 06:16:47 +0100
committerLioncash <mathew1800@gmail.com>2018-12-05 06:16:49 +0100
commit05a6f1f676386074ce28c2459b689d92c08a3171 (patch)
tree6fab331e8df1e77cc6465b4a5f3c1f1aa7d32b55 /src/core/hle/service/ldr
parentservice/ldr: Corrent padding within the NRR header layout (diff)
downloadyuzu-05a6f1f676386074ce28c2459b689d92c08a3171.tar
yuzu-05a6f1f676386074ce28c2459b689d92c08a3171.tar.gz
yuzu-05a6f1f676386074ce28c2459b689d92c08a3171.tar.bz2
yuzu-05a6f1f676386074ce28c2459b689d92c08a3171.tar.lz
yuzu-05a6f1f676386074ce28c2459b689d92c08a3171.tar.xz
yuzu-05a6f1f676386074ce28c2459b689d92c08a3171.tar.zst
yuzu-05a6f1f676386074ce28c2459b689d92c08a3171.zip
Diffstat (limited to 'src/core/hle/service/ldr')
-rw-r--r--src/core/hle/service/ldr/ldr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/ldr/ldr.cpp b/src/core/hle/service/ldr/ldr.cpp
index 2f6613476..a81699a5a 100644
--- a/src/core/hle/service/ldr/ldr.cpp
+++ b/src/core/hle/service/ldr/ldr.cpp
@@ -414,13 +414,13 @@ private:
using SHA256Hash = std::array<u8, 0x20>;
struct NROHeader {
- u32_le entrypoint_insn;
+ INSERT_PADDING_WORDS(1);
u32_le mod_offset;
INSERT_PADDING_WORDS(2);
u32_le magic;
- INSERT_PADDING_WORDS(1);
+ u32_le version;
u32_le nro_size;
- INSERT_PADDING_WORDS(1);
+ u32_le flags;
u32_le text_offset;
u32_le text_size;
u32_le ro_offset;