Remove check for WUMS struct

This commit is contained in:
Maschell 2021-12-07 20:57:22 +01:00
parent bbdf4ca7c7
commit b21b355ffb

View File

@ -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);