diff --git a/Dockerfile b/Dockerfile index 7f865dd..f3b8844 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM wiiuenv/devkitppc:20210920 +FROM wiiuenv/devkitppc:20211106 COPY --from=wiiuenv/wiiupluginsystem:20211001 /artifacts $DEVKITPRO COPY --from=wiiuenv/librpxloader:20211002 /artifacts $DEVKITPRO diff --git a/src/main.cpp b/src/main.cpp index c098e27..7346b8a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -12,7 +12,9 @@ #include "utils/StringTools.h" #include #include "fileinfos.h" +#include #include +#include #include #include "fs/FSUtils.h" #include "filelist.h" @@ -58,7 +60,10 @@ INITIALIZE_PLUGIN() { } ON_APPLICATION_START() { - WHBLogUdpInit(); + if(!WHBLogModuleInit()){ + WHBLogCafeInit(); + WHBLogUdpInit(); + } if (OSGetTitleID() == 0x0005001010040000L || // Wii U Menu JPN OSGetTitleID() == 0x0005001010040100L || // Wii U Menu USA