Commit 141a2679 authored by Christoph Frick's avatar Christoph Frick Committed by Alexandre Julliard

dinput: Call fake_current_js_state on the places where it is actually needed in SetProperty.

parent cd7e1d57
......@@ -1140,6 +1140,7 @@ static HRESULT WINAPI JoystickAImpl_SetProperty(LPDIRECTINPUTDEVICE8A iface,
This->wantmax[obj] = pr->lMax;
}
}
fake_current_js_state(This);
return DI_OK;
}
case (DWORD)DIPROP_DEADZONE: {
......@@ -1157,6 +1158,7 @@ static HRESULT WINAPI JoystickAImpl_SetProperty(LPDIRECTINPUTDEVICE8A iface,
This->deadz[obj] = pd->dwData;
}
}
fake_current_js_state(This);
return DI_OK;
}
default:
......@@ -1164,7 +1166,6 @@ static HRESULT WINAPI JoystickAImpl_SetProperty(LPDIRECTINPUTDEVICE8A iface,
break;
}
}
fake_current_js_state(This);
return 0;
}
......
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