Init AX to stop boot sound while running WUDD

This commit is contained in:
Maschell 2023-01-10 16:26:21 +01:00
parent 60688c0663
commit 0da71f9420

View File

@ -11,6 +11,7 @@
#include <mocha/mocha.h> #include <mocha/mocha.h>
#include <ntfs.h> #include <ntfs.h>
#include <padscore/kpad.h> #include <padscore/kpad.h>
#include <sndcore2/core.h>
#include <thread> #include <thread>
#include <whb/log.h> #include <whb/log.h>
#include <whb/proc.h> #include <whb/proc.h>
@ -38,6 +39,7 @@ procHomeButtonDeniedCustom(void *context) {
int main(int argc, char **argv) { int main(int argc, char **argv) {
initLogging(); initLogging();
DEBUG_FUNCTION_LINE("Hello from wudump!"); DEBUG_FUNCTION_LINE("Hello from wudump!");
AXInit();
WHBProcInit(); WHBProcInit();
WiiUScreen::Init(); WiiUScreen::Init();
@ -106,6 +108,7 @@ int main(int argc, char **argv) {
WiiUScreen::DeInit(); WiiUScreen::DeInit();
WHBProcShutdown(); WHBProcShutdown();
AXQuit();
return 0; return 0;
} }