Clean up `nuContReadImpl`

This commit is contained in:
gijs 2023-10-22 13:46:17 +02:00
parent c71a4b27ee
commit 07265b8744
1 changed files with 2 additions and 7 deletions

View File

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