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