Module: wine Branch: master Commit: f091aeae50a1fa79b29110965ddd31d63c6a4ed3 URL: https://source.winehq.org/git/wine.git/?a=commit;h=f091aeae50a1fa79b29110965... Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Tue Oct 19 09:20:01 2021 +0200 dinput: Use object instance offset to access extra value caps. Value objects are always enumerated first, so offset / sizeof(LONG) can be safely used to index input_extra_caps array. Signed-off-by: Rémi Bernon <rbernon(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/dinput/joystick_hid.c | 89 +++++++++++++++++++++++++++------------------- 1 file changed, 52 insertions(+), 37 deletions(-) Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=f091aeae50a1fa79b2911...