[dinput-8/9] call fake_current_js_state on the places,
where it is actually needed in SetProperty
Christoph Frick
frick at sc-networks.de
Thu Jul 6 06:17:31 CDT 2006
License: LGPL
ChangeLog:
2006-07-05 Christoph Frick <rid at zefix.tv>
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;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060706/f2c5a97a/attachment.pgp
More information about the wine-patches
mailing list