Module: wine Branch: refs/heads/master Commit: 141a267957852aefcb80095a54ae925ace8f4d08 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=141a267957852aefcb80095a...
Author: Christoph Frick frick@sc-networks.de Date: Thu Jul 6 13:17:31 2006 +0200
dinput: Call fake_current_js_state on the places where it is actually needed in SetProperty.
---
dlls/dinput/joystick_linuxinput.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/dinput/joystick_linuxinput.c b/dlls/dinput/joystick_linuxinput.c index c47caf3..f365010 100644 --- a/dlls/dinput/joystick_linuxinput.c +++ b/dlls/dinput/joystick_linuxinput.c @@ -1140,6 +1140,7 @@ static HRESULT WINAPI JoystickAImpl_SetP This->wantmax[obj] = pr->lMax; } } + fake_current_js_state(This); return DI_OK; } case (DWORD)DIPROP_DEADZONE: { @@ -1157,6 +1158,7 @@ static HRESULT WINAPI JoystickAImpl_SetP This->deadz[obj] = pd->dwData; } } + fake_current_js_state(This); return DI_OK; } default: @@ -1164,7 +1166,6 @@ static HRESULT WINAPI JoystickAImpl_SetP break; } } - fake_current_js_state(This); return 0; }