diff options
| author | Vincent Duvert <vincent@duvert.net> | 2018-01-07 11:14:51 +0100 |
|---|---|---|
| committer | Vincent Duvert <vincent@duvert.net> | 2018-01-07 11:14:51 +0100 |
| commit | 3abc288e02089b3143547177e027d3820e5d7e59 (patch) | |
| tree | 5a6cb9a748ec625f235f7cc098b04fbcdfdce61e /Source/Core/VideoCommon/AbstractTexture.cpp | |
| parent | 8d5810a1038347b9e56d41334d3f83641c913b3d (diff) | |
macOS: Add errno setting in set_report (HID)
IsDeviceUsable in IOhidapi.cpp uses errno to detect if hid_write failed because of an unconnected Wiimote on a Dolphinbar (it expects errno == EPIPE in this case).
macOS’s implementation of hid_write detected this specific error (IOHIDDeviceSetReport returns kUSBHostReturnPipeStalled) but didn’t set errno so the check failed.
This add errno assignment to failure cases of macOS’s hid_write.
Diffstat (limited to 'Source/Core/VideoCommon/AbstractTexture.cpp')
0 files changed, 0 insertions, 0 deletions
