From a40b5652e5004c84dd38b0d327c57cc6aea50b82 Mon Sep 17 00:00:00 2001 From: Maschell Date: Tue, 16 Mar 2021 17:37:02 +0100 Subject: [PATCH] Use WUPS 0.4 --- Dockerfile | 2 +- src/main.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 706cca0..ce4dd6a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM wiiuenv/devkitppc:20210101 -COPY --from=wiiuenv/wiiupluginsystem:20210109 /artifacts $DEVKITPRO +COPY --from=wiiuenv/wiiupluginsystem:20210316 /artifacts $DEVKITPRO COPY --from=wiiuenv/libiosuhax:20210109 /artifacts $DEVKITPRO WORKDIR project \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index 71b479a..57ea08e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -40,7 +40,7 @@ WUPS_PLUGIN_VERSION("0.1"); WUPS_PLUGIN_AUTHOR("Maschell"); WUPS_PLUGIN_LICENSE("GPL"); -WUPS_USE_WUT_CRT() +WUPS_USE_WUT_DEVOPTAB() uint32_t hostIpAddress = 0; int iosuhaxMount = 0; @@ -49,7 +49,7 @@ int fsaFd = -1; BackgroundThread * thread = NULL; /* Entry point */ -ON_APPLICATION_START(args) { +ON_APPLICATION_START() { WHBInitializeSocketLibrary(); nn::ac::ConfigIdNum configId; @@ -118,7 +118,7 @@ void stopThread(){ BackgroundThread::destroyInstance(); } -ON_APPLICATION_END(){ +ON_APPLICATION_REQUESTS_EXIT(){ DEBUG_FUNCTION_LINE("Ending ftp server"); stopThread();