mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 12:33:41 +00:00
joy.cpl: Pass DIEFF_OBJECTOFFSETS flag to IDirectInputEffect_SetParameters.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
06c824c02a
commit
13813894f2
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue