mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-20 23:20:10 +00:00
Allow up to 16 gamepads with Sunshine hosts
This commit is contained in:
@@ -45,8 +45,8 @@ SdlInputHandler::findStateForGamepad(SDL_JoystickID id)
|
||||
}
|
||||
}
|
||||
|
||||
// This should only happen with > 4 gamepads
|
||||
SDL_assert(SDL_NumJoysticks() > 4);
|
||||
// This should only happen with too many gamepads
|
||||
SDL_assert(SDL_NumJoysticks() > MAX_GAMEPADS);
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user