mirror of
https://github.com/wiiu-env/wiiload_plugin.git
synced 2024-11-22 10:39:16 +01:00
Use WUPS 0.4
This commit is contained in:
parent
c9ece3040d
commit
2b3479998a
@ -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
|
@ -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();
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user