mirror of
https://github.com/wiiu-env/USBSerialLoggingModule.git
synced 2024-11-24 19:06:53 +01:00
Remove check for WUMS struct
This commit is contained in:
parent
bbdf4ca7c7
commit
b21b355ffb
@ -12,15 +12,8 @@ WUMS_MODULE_INIT_BEFORE_RELOCATION_DONE_HOOK();
|
|||||||
|
|
||||||
extern "C" void SC_0x51();
|
extern "C" void SC_0x51();
|
||||||
|
|
||||||
WUMS_INITIALIZE(args) {
|
WUMS_INITIALIZE() {
|
||||||
WHBLogUdpInit();
|
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
|
// Start syslogging on iosu side
|
||||||
int mcpFd = IOS_Open("/dev/mcp", (IOSOpenMode) 0);
|
int mcpFd = IOS_Open("/dev/mcp", (IOSOpenMode) 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user