mirror of
https://github.com/devkitPro/wut.git
synced 2026-09-12 05:06:00 -05:00
tempSize is based on all sections with a 0 address except RPL_CRCS and RPL_FILEINFO
This commit is contained in:
@@ -1007,7 +1007,7 @@ write(ElfFile &file, const std::string &filename)
|
||||
if(val > fileInfo.loadSize) {
|
||||
fileInfo.loadSize = val;
|
||||
}
|
||||
} else if (section->header.type == elf::SHT_RELA) {
|
||||
} else if (section->header.addr == 0 && section->header.type != elf::SHT_RPL_CRCS && section->header.type != elf::SHT_RPL_FILEINFO) {
|
||||
fileInfo.tempSize += (size + 128);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user