dinput: Use tested DirectInput version instead of latest.
This commit is contained in:
parent
e49cb3bfcb
commit
a0c10c2af2
|
@ -373,7 +373,7 @@ static BOOL CALLBACK EnumJoysticks(
|
||||||
|
|
||||||
if (effect)
|
if (effect)
|
||||||
{
|
{
|
||||||
hr = IDirectInputEffect_Initialize(effect, hInstance, DIRECTINPUT_VERSION,
|
hr = IDirectInputEffect_Initialize(effect, hInstance, data->version,
|
||||||
&GUID_ConstantForce);
|
&GUID_ConstantForce);
|
||||||
ok(hr==DI_OK,"IDirectInputEffect_Initialize failed: %08x\n", hr);
|
ok(hr==DI_OK,"IDirectInputEffect_Initialize failed: %08x\n", hr);
|
||||||
hr = IDirectInputEffect_SetParameters(effect, &eff, DIEP_AXES | DIEP_DIRECTION |
|
hr = IDirectInputEffect_SetParameters(effect, &eff, DIEP_AXES | DIEP_DIRECTION |
|
||||||
|
|
Loading…
Reference in New Issue