summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Zach Hilman2018-09-29 22:12:53 -0400
committerGravatar Zach Hilman2018-10-01 16:01:46 -0400
commit3c9e70fefae0754c7484484fc8f58011e5b14aaa (patch)
tree6ec1ad564adb83631f0c0abb0a06ff99a177e33d
parentMerge pull request #1407 from DarkLordZach/dlc (diff)
downloadyuzu-3c9e70fefae0754c7484484fc8f58011e5b14aaa.tar.gz
yuzu-3c9e70fefae0754c7484484fc8f58011e5b14aaa.tar.xz
yuzu-3c9e70fefae0754c7484484fc8f58011e5b14aaa.zip
nso: Replace NSOHeader padding bytes with build ID
-rw-r--r--src/core/loader/nso.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cpp
index cbe2a3e53..512954d40 100644
--- a/src/core/loader/nso.cpp
+++ b/src/core/loader/nso.cpp
@@ -36,8 +36,7 @@ struct NsoHeader {
36 INSERT_PADDING_WORDS(1); 36 INSERT_PADDING_WORDS(1);
37 u8 flags; 37 u8 flags;
38 std::array<NsoSegmentHeader, 3> segments; // Text, RoData, Data (in that order) 38 std::array<NsoSegmentHeader, 3> segments; // Text, RoData, Data (in that order)
39 u32_le bss_size; 39 std::array<u8, 0x20> build_id;
40 INSERT_PADDING_BYTES(0x1c);
41 std::array<u32_le, 3> segments_compressed_size; 40 std::array<u32_le, 3> segments_compressed_size;
42 41
43 bool IsSegmentCompressed(size_t segment_num) const { 42 bool IsSegmentCompressed(size_t segment_num) const {