Commit 1371bcf3 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

xinput1_3: Continue enumeration until there's no more slot.

parent 47ac0b0b
......@@ -285,13 +285,12 @@ void HID_find_gamepads(xinput_controller *devices)
else if (!init_controller(&devices[i], ppd, &caps, device, detail->DevicePath))
WARN("ignoring HID device, failed to initialize\n");
else
goto done;
continue;
CloseHandle(device);
HidD_FreePreparsedData(ppd);
}
done:
SetupDiDestroyDeviceInfoList(device_info_set);
LeaveCriticalSection(&xinput_crit);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment