Fix loading modules with a ".wut_load_bounds" section

This commit is contained in:
Maschell 2022-05-13 15:42:18 +02:00
parent d367d27313
commit e615c2597f

View File

@ -100,7 +100,7 @@ std::optional<std::shared_ptr<ModuleData>> ModuleDataFactory::load(const std::st
for (uint32_t i = 0; i < sec_num; ++i) {
section *psec = reader.sections[i];
if (psec->get_type() == 0x80000002) {
if (psec->get_type() == 0x80000002 || psec->get_name() == ".wut_load_bounds") {
continue;
}