From 2b3479998a6e77bffc2b097a617b9d354df5d66d Mon Sep 17 00:00:00 2001 From: Maschell Date: Tue, 16 Mar 2021 17:53:57 +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 d5332eb..9d0ac77 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,6 @@ FROM wiiuenv/devkitppc:20210101 COPY --from=wiiuenv/libwupsbackend:202101101720554d1bfe /artifacts $DEVKITPRO COPY --from=wiiuenv/librpxloader:20210116 /artifacts $DEVKITPRO -COPY --from=wiiuenv/wiiupluginsystem:20210109 /artifacts $DEVKITPRO +COPY --from=wiiuenv/wiiupluginsystem:20210316 /artifacts $DEVKITPRO WORKDIR project \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index 3235066..6806ff4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -10,12 +10,12 @@ WUPS_PLUGIN_VERSION("0.1"); WUPS_PLUGIN_AUTHOR("Maschell"); WUPS_PLUGIN_LICENSE("GPL"); -WUPS_USE_WUT_CRT() +WUPS_USE_WUT_DEVOPTAB() TcpReceiver *thread = nullptr; /* Entry point */ -ON_APPLICATION_START(args) { +ON_APPLICATION_START() { WHBLogUdpInit(); DEBUG_FUNCTION_LINE("Start wiiload thread"); thread = new TcpReceiver(4299); @@ -28,7 +28,7 @@ void stopThread() { } } -ON_APPLICATION_END() { +ON_APPLICATION_REQUESTS_EXIT() { DEBUG_FUNCTION_LINE("Kill wiiload thread"); stopThread(); } \ No newline at end of file