diff --git a/src/nu/nucontmgr.c b/src/nu/nucontmgr.c index a437e53..58b2891 100644 --- a/src/nu/nucontmgr.c +++ b/src/nu/nucontmgr.c @@ -94,13 +94,8 @@ s32 nuContRetraceImpl(NUSiCommonMesg* mesg) { return NU_SI_CALLBACK_CONTINUE; } -typedef struct { - /* 0x0 */ u8 field_0x0[0xc]; - /* 0xC */ OSContPad* data; -} Arg___calls_read_controller_1; - -void nuContReadImpl(Arg___calls_read_controller_1* arg) { - nuContReadDataImpl(arg->data, 0); +void nuContReadImpl(NUSiCommonMesg* mesg) { + nuContReadDataImpl((OSContPad*)mesg->dataPtr, 0); } s32 nuContReadNWImpl(NUSiCommonMesg* mesg) {