mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-19 17:06:04 -07:00
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:
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
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
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)
|
switch (control)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue