Update Dockerfile to use WUMS 0.2

This commit is contained in:
Maschell 2021-09-17 18:34:23 +02:00
parent cf8eb445e8
commit 4d7af5d641
3 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,5 @@
FROM wiiuenv/devkitppc:20210414
FROM wiiuenv/devkitppc:20210917
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 -O0 -ffunction-sections\
CFLAGS := -g -Wall -O2 -ffunction-sections \
$(MACHDEP)
CFLAGS += $(INCLUDE) -D__WIIU__ -D__WUT__

View File

@ -7,7 +7,6 @@
WUMS_MODULE_EXPORT_NAME("homebrew_kernel");
WUMS_MODULE_SKIP_ENTRYPOINT();
WUMS_MODULE_SKIP_WUT_INIT();
WUMS_MODULE_INIT_BEFORE_RELOCATION_DONE_HOOK();
#define KERN_SYSCALL_TBL1 0xFFE84C70 //Unknown
@ -189,6 +188,6 @@ void kernelInitialize() {
PatchSyscall(0x0A, (uint32_t) KernelWriteSRsInternalFunc);
}
WUMS_INITIALIZE() {
WUMS_INITIALIZE(myargs) {
kernelInitialize();
}