From b21b355ffb582f545739231415285aa43fa85f8b Mon Sep 17 00:00:00 2001 From: Maschell Date: Tue, 7 Dec 2021 20:57:22 +0100 Subject: [PATCH] Remove check for WUMS struct --- source/main.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/source/main.cpp b/source/main.cpp index 4912598..dac517b 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -12,15 +12,8 @@ WUMS_MODULE_INIT_BEFORE_RELOCATION_DONE_HOOK(); extern "C" void SC_0x51(); -WUMS_INITIALIZE(args) { +WUMS_INITIALIZE() { WHBLogUdpInit(); - auto gModuleData = args.module_information; - if (gModuleData == nullptr) { - OSFatal("USBSerialLogging: Failed to get gModuleData pointer."); - } - if (gModuleData->version != MODULE_INFORMATION_VERSION) { - OSFatal("USBSerialLogging: The module information struct version does not match."); - } // Start syslogging on iosu side int mcpFd = IOS_Open("/dev/mcp", (IOSOpenMode) 0);