diff --git a/Dockerfile b/Dockerfile index 3ebd3c9..b269abd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,6 @@ FROM wiiuenv/devkitppc:20221228 COPY --from=wiiuenv/libkernel:20220904 /artifacts $DEVKITPRO COPY --from=wiiuenv/libfunctionpatcher:20230106 /artifacts $DEVKITPRO -COPY --from=wiiuenv/wiiumodulesystem:20221005 /artifacts $DEVKITPRO +COPY --from=wiiuenv/wiiumodulesystem:20230106 /artifacts $DEVKITPRO WORKDIR project diff --git a/source/main.cpp b/source/main.cpp index 5786ee2..8b191af 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -12,6 +12,7 @@ WUMS_MODULE_EXPORT_NAME("homebrew_functionpatcher"); WUMS_MODULE_INIT_BEFORE_RELOCATION_DONE_HOOK(); +WUMS_DEPENDS_ON(homebrew_kernel); void UpdateFunctionPointer() { // We need the real MEMAllocFromDefaultHeapEx/MEMFreeToDefaultHeap function pointer to force-allocate memory on the default heap.