[PATCH] dinput: Handle case where IOHIDDeviceGetValue fails

Aric Stewart aric at codeweavers.com
Tue Jun 4 07:47:35 CDT 2019


This prevents crashes if a controller disconnects from OS/X

Signed-off-by: Aric Stewart <aric at codeweavers.com>
---
 dlls/dinput/joystick_osx.c | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dinput-Handle-case-where-IOHIDDeviceGetValue-fails.txt
Type: text/x-patch
Size: 2475 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20190604/25fb2577/attachment.bin>


More information about the wine-devel mailing list