Fix another missing array index

This commit is contained in:
Michael 2023-10-13 12:00:55 -04:00
parent 9809ae4a75
commit dacbfc8810

View File

@ -1572,7 +1572,7 @@ static void PollDrmJoystickEvents()
if (!CORE.Input.Gamepad.ready[i])
continue;
while (read(platform.gamepadStreamFd, &ev, sizeof(ev)) > 0)
while (read(platform.gamepadStreamFd[i], &ev, sizeof(ev)) > 0)
{
switch(ev.type)
{