From f96b7273a62b6c76f94bdf9a1da00945cfa9ad45 Mon Sep 17 00:00:00 2001 From: Maschell Date: Thu, 30 Jan 2025 18:30:55 +0100 Subject: [PATCH 1/3] Bump version --- source/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main.cpp b/source/main.cpp index cbd78d0..65bc087 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -13,7 +13,7 @@ WUMS_MODULE_EXPORT_NAME("homebrew_basemodule"); WUMS_MODULE_SKIP_INIT_FINI(); WUMS_DEPENDS_ON(homebrew_functionpatcher); -#define VERSION "v0.2.5" +#define VERSION "v0.2.6" WUMS_INITIALIZE(args) { initLogging(); From 038559b77744e4c1ad7cc7a8cc87be6312c42e06 Mon Sep 17 00:00:00 2001 From: Maschell Date: Thu, 30 Jan 2025 18:29:47 +0100 Subject: [PATCH 2/3] Implement support for WUMS 0.3.3 --- Dockerfile | 4 ++-- .../applicationends_function_replacements.cpp | 1 + source/sdrefcount/sd_function_replacements.cpp | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f32aed5..99d6b99 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -FROM ghcr.io/wiiu-env/devkitppc:20240505 +FROM ghcr.io/wiiu-env/devkitppc:20241128 COPY --from=ghcr.io/wiiu-env/libfunctionpatcher:20230621 /artifacts $DEVKITPRO -COPY --from=ghcr.io/wiiu-env/wiiumodulesystem:20240424 /artifacts $DEVKITPRO +COPY --from=ghcr.io/wiiu-env/wiiumodulesystem:0.3.3-dev-20250130-474ef70 /artifacts $DEVKITPRO COPY --from=ghcr.io/wiiu-env/libkernel:20230621 /artifacts $DEVKITPRO WORKDIR project diff --git a/source/applicationendshook/applicationends_function_replacements.cpp b/source/applicationendshook/applicationends_function_replacements.cpp index 60fc0cd..ba6a859 100644 --- a/source/applicationendshook/applicationends_function_replacements.cpp +++ b/source/applicationendshook/applicationends_function_replacements.cpp @@ -62,6 +62,7 @@ DECL_FUNCTION(uint32_t, OSReceiveMessage, OSMessageQueue *queue, OSMessage *mess if (message->args[0] == 0xD1E0D1E0) { ZombiUFix(); CallHook(WUMS_HOOK_APPLICATION_REQUESTS_EXIT); + CallHook(WUMS_HOOK_ALL_APPLICATION_REQUESTS_EXIT_DONE); } } lastData0 = message->args[0]; diff --git a/source/sdrefcount/sd_function_replacements.cpp b/source/sdrefcount/sd_function_replacements.cpp index 58c9b82..4277258 100644 --- a/source/sdrefcount/sd_function_replacements.cpp +++ b/source/sdrefcount/sd_function_replacements.cpp @@ -300,6 +300,7 @@ DECL_FUNCTION(void, __PPCExit, uint32_t u1) { NWF_Fix(); CallHook(WUMS_HOOK_APPLICATION_ENDS); + CallHook(WUMS_HOOK_ALL_APPLICATION_ENDS_DONE); CallHook(WUMS_HOOK_FINI_WUT_SOCKETS); CallHook(WUMS_HOOK_FINI_WUT_DEVOPTAB); if (gSDMountRefCount > 0) { From e4c92e88c6535a7a78b79da3ff80abdcb74502f1 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 8 Feb 2025 14:24:49 +0100 Subject: [PATCH 3/3] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 99d6b99..cd754a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM ghcr.io/wiiu-env/devkitppc:20241128 COPY --from=ghcr.io/wiiu-env/libfunctionpatcher:20230621 /artifacts $DEVKITPRO -COPY --from=ghcr.io/wiiu-env/wiiumodulesystem:0.3.3-dev-20250130-474ef70 /artifacts $DEVKITPRO +COPY --from=ghcr.io/wiiu-env/wiiumodulesystem:20250208 /artifacts $DEVKITPRO COPY --from=ghcr.io/wiiu-env/libkernel:20230621 /artifacts $DEVKITPRO WORKDIR project