[PATCH 2/2] joy.cpl: Pass DIEFF_OBJECTOFFSETS flag to IDirectInputEffect_SetParameters.
Rémi Bernon
rbernon at codeweavers.com
Wed Oct 6 03:26:42 CDT 2021
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
dlls/joy.cpl/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/joy.cpl/main.c b/dlls/joy.cpl/main.c
index 3c9949b7ef3..1498021db66 100644
--- a/dlls/joy.cpl/main.c
+++ b/dlls/joy.cpl/main.c
@@ -809,7 +809,7 @@ static BOOL CALLBACK ff_effects_callback(const DIEFFECTINFOW *pdei, void *pvRef)
ZeroMemory(&dieffect, sizeof(dieffect));
dieffect.dwSize = sizeof(dieffect);
- dieffect.dwFlags = DIEFF_CARTESIAN;
+ dieffect.dwFlags = DIEFF_CARTESIAN|DIEFF_OBJECTOFFSETS;
dieffect.dwDuration = FF_PLAY_TIME;
dieffect.cAxes = 2;
--
2.33.0
More information about the wine-devel
mailing list