Skip to content

Commit

Permalink
Fix Wii U adapter clone not working in Wii U mode
Browse files Browse the repository at this point in the history
  • Loading branch information
zardam committed Oct 19, 2024
1 parent a69f2f1 commit 47fc184
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kernel/HID.c
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,9 @@ static s32 HIDInterruptMessage(u32 isKBreq, u8 *Data, u32 Length, u32 Endpoint,
}
void HIDGCInit()
{
// Needed for some adapters clone
HIDControlMessage(0, NULL, 0, USB_REQTYPE_INTERFACE_SET, USB_REQ_SETPROTOCOL, 0, 0, NULL);

s32 ret = HIDInterruptMessage(0, gcbuf, 1, bEndpointAddressOut, 0, NULL);
if( ret < 0 )
{
Expand Down

0 comments on commit 47fc184

Please sign in to comment.