From 36f73779f6f32e474006f5689e275087185165cb Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 17 Sep 2021 18:36:14 +0200 Subject: [PATCH] Update Dockerfile to use WUMS 0.2 --- Dockerfile | 4 ++-- Makefile | 2 +- source/main.cpp | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 71e4fe6..59993e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ -FROM wiiuenv/devkitppc:20210101 +FROM wiiuenv/devkitppc:20210917 COPY --from=wiiuenv/libmappedmemory:20210109 /artifacts $DEVKITPRO -COPY --from=wiiuenv/wiiumodulesystem:20210313 /artifacts $DEVKITPRO +COPY --from=wiiuenv/wiiumodulesystem:20210917 /artifacts $DEVKITPRO WORKDIR project \ No newline at end of file diff --git a/Makefile b/Makefile index ba65225..e34c331 100644 --- a/Makefile +++ b/Makefile @@ -104,7 +104,7 @@ $(BUILD): #------------------------------------------------------------------------------- clean: @echo clean ... - @rm -fr $(BUILD) $(TARGET).rpx $(TARGET).elf + @rm -fr $(BUILD) $(TARGET).wms $(TARGET).elf #------------------------------------------------------------------------------- else diff --git a/source/main.cpp b/source/main.cpp index 16fdfb6..87205b8 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -9,7 +9,6 @@ WUMS_MODULE_EXPORT_NAME("homebrew_patchmemoryrelocations"); WUMS_MODULE_SKIP_ENTRYPOINT(); -WUMS_MODULE_SKIP_WUT_INIT(); 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);