From 38b58faf8851df25d6a2700bf807ad06df8a8e82 Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 17 Sep 2021 18:27:12 +0200 Subject: [PATCH] Reenable logging, Update Dockerfile to use WUMS 0.2 --- Dockerfile | 4 ++-- Makefile | 2 +- source/main.cpp | 4 +--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8a96854..55efe4a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -FROM wiiuenv/devkitppc:20210414 +FROM wiiuenv/devkitppc:20210917 COPY --from=wiiuenv/libkernel:20210109 /artifacts $DEVKITPRO COPY --from=wiiuenv/libfunctionpatcher:20210109 /artifacts $DEVKITPRO -COPY --from=wiiuenv/wiiumodulesystem:20210414 /artifacts $DEVKITPRO +COPY --from=wiiuenv/wiiumodulesystem:20210917 /artifacts $DEVKITPRO WORKDIR project \ No newline at end of file diff --git a/Makefile b/Makefile index 18b8dac..50ee511 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ INCLUDES := source #------------------------------------------------------------------------------- # options for code generation #------------------------------------------------------------------------------- -CFLAGS := -g -Wall -O2 -ffunction-sections\ +CFLAGS := -g -Wall -O2 -ffunction-sections -fno-exceptions -fno-rtti\ $(MACHDEP) CFLAGS += $(INCLUDE) -D__WIIU__ -D__WUT__ diff --git a/source/main.cpp b/source/main.cpp index 51e20df..381b511 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -3,12 +3,10 @@ #include "function_patcher.h" WUMS_MODULE_EXPORT_NAME("homebrew_functionpatcher"); WUMS_MODULE_SKIP_ENTRYPOINT(); -WUMS_MODULE_SKIP_WUT_INIT(); WUMS_MODULE_INIT_BEFORE_RELOCATION_DONE_HOOK(); WUMS_APPLICATION_STARTS() { - // Currently we have no logging because we're skipping the wut init/fini calls. - // WHBLogUdpInit(); + WHBLogUdpInit(); FunctionPatcherResetLibHandles(); }