mirror of
https://github.com/wiiu-env/wiiload_plugin.git
synced 2024-11-22 02:29:15 +01:00
Use the LoggingModule if possible
This commit is contained in:
parent
c2781569ce
commit
1d029f6274
@ -1,4 +1,4 @@
|
||||
FROM wiiuenv/devkitppc:20210920
|
||||
FROM wiiuenv/devkitppc:20211106
|
||||
|
||||
COPY --from=wiiuenv/libwupsbackend:20211001 /artifacts $DEVKITPRO
|
||||
COPY --from=wiiuenv/librpxloader:20210924 /artifacts $DEVKITPRO
|
||||
|
@ -1,6 +1,8 @@
|
||||
#include <wups.h>
|
||||
#include "utils/TcpReceiver.h"
|
||||
#include <whb/log_udp.h>
|
||||
#include <whb/log_cafe.h>
|
||||
#include <whb/log_module.h>
|
||||
|
||||
WUPS_PLUGIN_NAME("Wiiload");
|
||||
WUPS_PLUGIN_DESCRIPTION("Wiiload Server");
|
||||
@ -14,7 +16,10 @@ TcpReceiver *thread = nullptr;
|
||||
|
||||
/* Entry point */
|
||||
ON_APPLICATION_START() {
|
||||
WHBLogUdpInit();
|
||||
if (!WHBLogModuleInit()) {
|
||||
WHBLogCafeInit();
|
||||
WHBLogUdpInit();
|
||||
}
|
||||
DEBUG_FUNCTION_LINE("Start wiiload thread");
|
||||
thread = new TcpReceiver(4299);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user