diff --git a/Dockerfile b/Dockerfile index f32aed5..cd754a0 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:20250208 /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/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(); 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) {