mirror of
https://github.com/wiiu-env/FunctionPatcherModule.git
synced 2024-11-17 15:29:23 +01:00
Reenable logging, Update Dockerfile to use WUMS 0.2
This commit is contained in:
parent
ee76aba48e
commit
38b58faf88
@ -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
|
2
Makefile
2
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__
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user