Update Dockerfile to use WUPS 0.5

This commit is contained in:
Maschell 2021-09-17 16:53:11 +02:00
parent dd28076063
commit dbff9ca577
2 changed files with 9 additions and 6 deletions

View File

@ -1,6 +1,6 @@
FROM wiiuenv/devkitppc:20210414 FROM wiiuenv/devkitppc:20210917
COPY --from=wiiuenv/wiiupluginsystem:20210417 /artifacts $DEVKITPRO COPY --from=wiiuenv/wiiupluginsystem:20210917 /artifacts $DEVKITPRO
COPY --from=wiiuenv/libiosuhax:20210109 /artifacts $DEVKITPRO COPY --from=wiiuenv/libiosuhax:20210109 /artifacts $DEVKITPRO
WORKDIR project WORKDIR project

View File

@ -8,6 +8,7 @@
#include <coreinit/cache.h> #include <coreinit/cache.h>
#include "utils/logger.h" #include "utils/logger.h"
#include <whb/log_udp.h> #include <whb/log_udp.h>
#include <whb/libmanager.h>
#include "virtualpath.h" #include "virtualpath.h"
#include "BackgroundThread.hpp" #include "BackgroundThread.hpp"
@ -30,7 +31,9 @@ BackgroundThread * thread = nullptr;
/* Entry point */ /* Entry point */
ON_APPLICATION_START() { ON_APPLICATION_START() {
ACGetAssignedAddress(&hostIpAddress); nn::ac::Initialize();
nn::ac::ConnectAsync();
nn::ac::GetAssignedAddress(&hostIpAddress);
WHBLogUdpInit(); WHBLogUdpInit();