[PATCH 01/11] dinput: Stop calling SendForceFeedbackCommand on device destroy.
Rémi Bernon
rbernon at codeweavers.com
Fri Nov 12 02:49:37 CST 2021
It is only relevant for FFB devices, and is already being called by
hid_joystick_unacquire().
From: Ivo Ivanov <logos128 at gmail.com>
Signed-off-by: Ivo Ivanov <logos128 at gmail.com>
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
dlls/dinput/device.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/dlls/dinput/device.c b/dlls/dinput/device.c
index 85392c6b30b..e0d15893bd4 100644
--- a/dlls/dinput/device.c
+++ b/dlls/dinput/device.c
@@ -741,8 +741,6 @@ void dinput_device_destroy( IDirectInputDevice8W *iface )
TRACE( "iface %p.\n", iface );
IDirectInputDevice_Unacquire(iface);
- /* Reset the FF state, free all effects, etc */
- IDirectInputDevice8_SendForceFeedbackCommand(iface, DISFFC_RESET);
free( This->data_queue );
--
2.33.1
More information about the wine-devel
mailing list