winebus: Always return success from PID effect control.

Forza Horizon 5 doesn't like unsupported racing wheel force feedback
effects.
This commit is contained in:
Rémi Bernon 2022-06-02 08:45:04 +02:00 committed by Alexandre Julliard
parent a308076081
commit c3b1f1430c
Notes: Alexandre Julliard 2024-11-18 23:17:30 +01:00
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/wine/merge_requests/6831

View file

@ -595,7 +595,7 @@ static NTSTATUS sdl_device_physical_effect_control(struct unix_device *iface, BY
TRACE("iface %p, index %u, control %04x, iterations %u.\n", iface, index, control, iterations);
if (impl->effect_ids[index] < 0) return STATUS_UNSUCCESSFUL;
if (id < 0) return STATUS_SUCCESS;
switch (control)
{