dinput: Allow for holes in device status structure.
This commit is contained in:
parent
c95c75b0f6
commit
d2da2d378e
|
@ -432,11 +432,8 @@ static HRESULT create_DataFormat(LPCDIDATAFORMAT asked_format, DataFormat *forma
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (j == asked_format->dwNumObjs)
|
|
||||||
same = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TRACE("Setting to default value :\n");
|
TRACE("Setting to default value :\n");
|
||||||
for (j = 0; j < asked_format->dwNumObjs; j++) {
|
for (j = 0; j < asked_format->dwNumObjs; j++) {
|
||||||
if (done[j] == 0) {
|
if (done[j] == 0) {
|
||||||
|
|
Loading…
Reference in New Issue