Use WUMS_MODULE_SKIP_WUT_INIT

This commit is contained in:
Maschell 2021-02-19 17:09:02 +01:00
parent 330a48d345
commit bf4d9b1901
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
FROM wiiuenv/devkitppc:20210101 FROM wiiuenv/devkitppc:20210101
COPY --from=wiiuenv/libmappedmemory:20210109 /artifacts $DEVKITPRO COPY --from=wiiuenv/libmappedmemory:20210109 /artifacts $DEVKITPRO
COPY --from=wiiuenv/wiiumodulesystem:20210101 /artifacts $DEVKITPRO COPY --from=wiiuenv/wiiumodulesystem:20210219 /artifacts $DEVKITPRO
WORKDIR project WORKDIR project

View File

@ -9,6 +9,7 @@
WUMS_MODULE_EXPORT_NAME("homebrew_patchmemoryrelocations"); WUMS_MODULE_EXPORT_NAME("homebrew_patchmemoryrelocations");
WUMS_MODULE_SKIP_ENTRYPOINT(); WUMS_MODULE_SKIP_ENTRYPOINT();
WUMS_MODULE_SKIP_WUT_INIT();
WUMS_MODULE_INIT_BEFORE_RELOCATION_DONE_HOOK(); WUMS_MODULE_INIT_BEFORE_RELOCATION_DONE_HOOK();
bool elfLinkOne(char type, size_t offset, int32_t addend, uint32_t destination, uint32_t symbol_addr, relocation_trampolin_entry_t *trampolin_data, uint32_t trampolin_data_length, RelocationType reloc_type); bool elfLinkOne(char type, size_t offset, int32_t addend, uint32_t destination, uint32_t symbol_addr, relocation_trampolin_entry_t *trampolin_data, uint32_t trampolin_data_length, RelocationType reloc_type);