Use WUPS 0.4

This commit is contained in:
Maschell 2021-03-16 17:53:57 +01:00
parent c9ece3040d
commit 2b3479998a
2 changed files with 4 additions and 4 deletions

View File

@ -2,6 +2,6 @@ FROM wiiuenv/devkitppc:20210101
COPY --from=wiiuenv/libwupsbackend:202101101720554d1bfe /artifacts $DEVKITPRO COPY --from=wiiuenv/libwupsbackend:202101101720554d1bfe /artifacts $DEVKITPRO
COPY --from=wiiuenv/librpxloader:20210116 /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 WORKDIR project

View File

@ -10,12 +10,12 @@ WUPS_PLUGIN_VERSION("0.1");
WUPS_PLUGIN_AUTHOR("Maschell"); WUPS_PLUGIN_AUTHOR("Maschell");
WUPS_PLUGIN_LICENSE("GPL"); WUPS_PLUGIN_LICENSE("GPL");
WUPS_USE_WUT_CRT() WUPS_USE_WUT_DEVOPTAB()
TcpReceiver *thread = nullptr; TcpReceiver *thread = nullptr;
/* Entry point */ /* Entry point */
ON_APPLICATION_START(args) { ON_APPLICATION_START() {
WHBLogUdpInit(); WHBLogUdpInit();
DEBUG_FUNCTION_LINE("Start wiiload thread"); DEBUG_FUNCTION_LINE("Start wiiload thread");
thread = new TcpReceiver(4299); thread = new TcpReceiver(4299);
@ -28,7 +28,7 @@ void stopThread() {
} }
} }
ON_APPLICATION_END() { ON_APPLICATION_REQUESTS_EXIT() {
DEBUG_FUNCTION_LINE("Kill wiiload thread"); DEBUG_FUNCTION_LINE("Kill wiiload thread");
stopThread(); stopThread();
} }