dinput: joydev_enum_deviceA now returns the correct value.
This commit is contained in:
parent
c872bd5fed
commit
71924d7da6
|
@ -333,7 +333,7 @@ static BOOL joydev_enum_deviceW(DWORD dwDevType, DWORD dwFlags, LPDIDEVICEINSTAN
|
||||||
find_joydevs();
|
find_joydevs();
|
||||||
|
|
||||||
if (id >= have_joydevs) {
|
if (id >= have_joydevs) {
|
||||||
return -1;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!((dwDevType == 0) ||
|
if (!((dwDevType == 0) ||
|
||||||
|
|
Loading…
Reference in New Issue