Use WUPS 0.4

This commit is contained in:
Maschell 2021-03-16 17:37:02 +01:00
parent c540d08944
commit a40b5652e5
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
FROM wiiuenv/devkitppc:20210101 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 COPY --from=wiiuenv/libiosuhax:20210109 /artifacts $DEVKITPRO
WORKDIR project WORKDIR project

View File

@ -40,7 +40,7 @@ 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()
uint32_t hostIpAddress = 0; uint32_t hostIpAddress = 0;
int iosuhaxMount = 0; int iosuhaxMount = 0;
@ -49,7 +49,7 @@ int fsaFd = -1;
BackgroundThread * thread = NULL; BackgroundThread * thread = NULL;
/* Entry point */ /* Entry point */
ON_APPLICATION_START(args) { ON_APPLICATION_START() {
WHBInitializeSocketLibrary(); WHBInitializeSocketLibrary();
nn::ac::ConfigIdNum configId; nn::ac::ConfigIdNum configId;
@ -118,7 +118,7 @@ void stopThread(){
BackgroundThread::destroyInstance(); BackgroundThread::destroyInstance();
} }
ON_APPLICATION_END(){ ON_APPLICATION_REQUESTS_EXIT(){
DEBUG_FUNCTION_LINE("Ending ftp server"); DEBUG_FUNCTION_LINE("Ending ftp server");
stopThread(); stopThread();