Reenable logging, Update Dockerfile to use WUMS 0.2

This commit is contained in:
Maschell 2021-09-17 18:27:12 +02:00
parent ee76aba48e
commit 38b58faf88
3 changed files with 4 additions and 6 deletions

View File

@ -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

View File

@ -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__

View File

@ -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();
}