mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-11-25 01:50:18 +00:00
nso: Replace NSOHeader padding bytes with build ID
This commit is contained in:
parent
bd14f397ce
commit
3c9e70fefa
1 changed files with 1 additions and 2 deletions
|
@ -36,8 +36,7 @@ struct NsoHeader {
|
||||||
INSERT_PADDING_WORDS(1);
|
INSERT_PADDING_WORDS(1);
|
||||||
u8 flags;
|
u8 flags;
|
||||||
std::array<NsoSegmentHeader, 3> segments; // Text, RoData, Data (in that order)
|
std::array<NsoSegmentHeader, 3> segments; // Text, RoData, Data (in that order)
|
||||||
u32_le bss_size;
|
std::array<u8, 0x20> build_id;
|
||||||
INSERT_PADDING_BYTES(0x1c);
|
|
||||||
std::array<u32_le, 3> segments_compressed_size;
|
std::array<u32_le, 3> segments_compressed_size;
|
||||||
|
|
||||||
bool IsSegmentCompressed(size_t segment_num) const {
|
bool IsSegmentCompressed(size_t segment_num) const {
|
||||||
|
|
Loading…
Reference in a new issue