mirror of
https://github.com/devkitPro/wut.git
synced 2026-04-24 07:27:13 -05:00
Fix elf2rpl CRC section endianness
This commit is contained in:
parent
77dee438d8
commit
74de2a77dc
|
|
@ -918,7 +918,7 @@ write(ElfFile &file, const std::string &filename)
|
|||
crc = crc32(crc, reinterpret_cast<Bytef *>(section->data.data()), section->data.size());
|
||||
}
|
||||
|
||||
sectionCRCs.push_back(crc);
|
||||
sectionCRCs.push_back(byte_swap(crc));
|
||||
}
|
||||
|
||||
char *crcData = reinterpret_cast<char *>(sectionCRCs.data());
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user