mirror of
https://github.com/wiiu-env/KernelModule.git
synced 2024-11-08 11:05:09 +01:00
Update Dockerfile to use WUMS 0.2
This commit is contained in:
parent
cf8eb445e8
commit
4d7af5d641
@ -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
|
2
Makefile
2
Makefile
@ -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__
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user