mirror of
https://github.com/wiiu-env/WiiUPluginSystem.git
synced 2024-11-16 15:49:23 +01:00
Fix loading multiple plugins at the same time. The plugin destination in memory is not aligned by 0x100.
This commit is contained in:
parent
28a2e85eae
commit
88da4f3490
@ -323,7 +323,7 @@ bool PluginLoader::loadAndLinkElf(PluginData * pluginData, Elf *elf, void * star
|
||||
}
|
||||
ElfTools::elfLoadSymbols(elf_ndxscn(scn), (void*) firstCurAddress, symtab, symtab_count);
|
||||
|
||||
curAddress = destination + shdr->sh_size;
|
||||
curAddress = ROUNDUP(destination + shdr->sh_size,0x100);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user