mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
Fixed timeout opening the Nintendo Joy-Con Charging Grip
Sometimes opening the right Joy-Con takes a little longer for some reason
This commit is contained in:
parent
29cdb2c9c9
commit
5d50fa52df
1 changed files with 1 additions and 1 deletions
|
|
@ -624,7 +624,7 @@ WriteSubcommandSync(SDL_DriverSwitch_Context *ctx, ESwitchSubcommandIDs ucComman
|
|||
|
||||
static SDL_bool WriteProprietary(SDL_DriverSwitch_Context *ctx, ESwitchProprietaryCommandIDs ucCommand, Uint8 *pBuf, Uint8 ucLen, SDL_bool waitForReply)
|
||||
{
|
||||
int nRetries = 5;
|
||||
int nRetries = 10;
|
||||
|
||||
while (nRetries--) {
|
||||
SwitchProprietaryOutputPacket_t packet;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue