mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
sinput: fix compiling with debug output on
This commit is contained in:

committed by
Sam Lantinga

parent
5dc801506b
commit
2b94062482
@@ -390,7 +390,7 @@ static bool RetrieveSDLFeatures(SDL_HIDAPI_Device *device)
|
||||
}
|
||||
|
||||
#ifdef DEBUG_SINPUT_PROTOCOL
|
||||
HIDAPI_DumpPacket("SInput packet: size = %d", data, size);
|
||||
HIDAPI_DumpPacket("SInput packet: size = %d", data, read);
|
||||
#endif
|
||||
|
||||
if ((read == USB_PACKET_LENGTH) && (data[0] == SINPUT_DEVICE_REPORT_ID_INPUT_CMDDAT) && (data[1] == SINPUT_DEVICE_COMMAND_FEATURES)) {
|
||||
|
Reference in New Issue
Block a user