mirror of
https://github.com/wiiu-env/homebrew_on_menu_plugin.git
synced 2024-11-22 02:29:15 +01:00
Use LoggingModule for logging if possible
This commit is contained in:
parent
1f2108dbb7
commit
e84fcd6861
@ -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
|
||||
|
@ -12,7 +12,9 @@
|
||||
#include "utils/StringTools.h"
|
||||
#include <fs/DirList.h>
|
||||
#include "fileinfos.h"
|
||||
#include <whb/log_module.h>
|
||||
#include <whb/log_udp.h>
|
||||
#include <whb/log_cafe.h>
|
||||
#include <rpxloader.h>
|
||||
#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
|
||||
|
Loading…
Reference in New Issue
Block a user