diff options
author | VolcaEM <63682805+VolcaEM@users.noreply.github.com> | 2020-06-02 17:54:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-02 17:54:10 +0200 |
commit | dfd1badc125ca5a4a4fa4587b81f2e51bebb2a07 (patch) | |
tree | 5d333794bc2aa8e104983e4b6ed08d5ee8483b88 | |
parent | Add comment to nrr_kind (diff) | |
download | yuzu-dfd1badc125ca5a4a4fa4587b81f2e51bebb2a07.tar yuzu-dfd1badc125ca5a4a4fa4587b81f2e51bebb2a07.tar.gz yuzu-dfd1badc125ca5a4a4fa4587b81f2e51bebb2a07.tar.bz2 yuzu-dfd1badc125ca5a4a4fa4587b81f2e51bebb2a07.tar.lz yuzu-dfd1badc125ca5a4a4fa4587b81f2e51bebb2a07.tar.xz yuzu-dfd1badc125ca5a4a4fa4587b81f2e51bebb2a07.tar.zst yuzu-dfd1badc125ca5a4a4fa4587b81f2e51bebb2a07.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/ldr/ldr.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/ldr/ldr.cpp b/src/core/hle/service/ldr/ldr.cpp index 252b79d2c..69caf3aae 100644 --- a/src/core/hle/service/ldr/ldr.cpp +++ b/src/core/hle/service/ldr/ldr.cpp @@ -59,7 +59,7 @@ struct NRRHeader { u64_le application_id; u32_le size; u8 nrr_kind; // 7.0.0+ - std::array<u8, 0x3> reserved_2; + std::array<u8, 3> reserved_2; u32_le hash_offset; u32_le hash_count; u64_le reserved_3; @@ -89,15 +89,15 @@ struct NROHeader { u32_le version; u32_le nro_size; u32_le flags; - // .text, .ro, .data (yuzu previously called it "rw" instead of "data") - std::array<SegmentHeader, 0x3> segment_headers; + // .text, .ro, .data + std::array<SegmentHeader, 3> segment_headers; u32_le bss_size; u32_le reserved; std::array<u8, 0x20> build_id; u32_le dso_handle_offset; u32_le unused_2; // .apiInfo, .dynstr, .dynsym - std::array<SegmentHeader, 0x3> segment_headers_2; + std::array<SegmentHeader, 3> segment_headers_2; }; static_assert(sizeof(NROHeader) == 0x80, "NROHeader has invalid size."); |