30 Jan
2024
30 Jan
'24
10:13 a.m.
Rémi Bernon (@rbernon) commented about dlls/winebus.sys/hid.c:
{ if (!iface->hid_device_state.hatswitch_count) iface->hid_device_state.hatswitch_start = offset; iface->hid_device_state.hatswitch_count += count; - iface->hid_device_state.bit_size += 8 * count; + iface->hid_device_state.bit_size += 4 * count; return TRUE; }
return FALSE;
You would need to handle the padding here. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4964#note_59481