Fix another missing array index
This commit is contained in:
parent
9809ae4a75
commit
dacbfc8810
|
|
@ -1572,7 +1572,7 @@ static void PollDrmJoystickEvents()
|
||||||
if (!CORE.Input.Gamepad.ready[i])
|
if (!CORE.Input.Gamepad.ready[i])
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
while (read(platform.gamepadStreamFd, &ev, sizeof(ev)) > 0)
|
while (read(platform.gamepadStreamFd[i], &ev, sizeof(ev)) > 0)
|
||||||
{
|
{
|
||||||
switch(ev.type)
|
switch(ev.type)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user