Add forgotten index to ready check
This commit is contained in:
parent
684dcb6947
commit
537b012dc6
|
|
@ -1487,7 +1487,7 @@ static void InitDrmInput(void)
|
|||
TraceLog(LOG_INFO, TextFormat("Device %s is an event joystick", entity->d_name));
|
||||
for (int i = 0; i < MAX_GAMEPADS; i++)
|
||||
{
|
||||
if (CORE.Input.Gamepad.ready)
|
||||
if (CORE.Input.Gamepad.ready[i])
|
||||
continue;
|
||||
|
||||
InitDrmJoystick(i, path);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user