mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 13:14:04 +00:00
fix up non-wiiu side of ifdefs for ds3
This commit is contained in:
parent
002c9a30c0
commit
3e91e3fbc9
@ -93,7 +93,7 @@ static int32_t ds3_send_control_packet(void *data, uint32_t slot, hid_driver_t *
|
||||
#if defined(WIIU)
|
||||
result = driver->set_report(data, HID_REPORT_OUTPUT, DS3_RUMBLE_REPORT_ID, packet_buffer+PACKET_OFFSET, 64-PACKET_OFFSET);
|
||||
#else
|
||||
result = driver->send_control(data, packet_buffer+PACKET_OFFSET, 64-PACKET_OFFSET);
|
||||
driver->send_control(data, packet_buffer+PACKET_OFFSET, 64-PACKET_OFFSET);
|
||||
#endif /* WIIU */
|
||||
return result;
|
||||
}
|
||||
@ -102,7 +102,8 @@ static int32_t ds3_send_activation_packet(void *data, uint32_t slot, hid_driver_
|
||||
#ifdef WIIU
|
||||
return driver->set_report(data, HID_REPORT_FEATURE, DS3_ACTIVATION_REPORT_ID, ds3_activation_packet, sizeof(ds3_activation_packet));
|
||||
#else
|
||||
return driver->send_control(data, ds3_activation_packet, sizeof(ds3_activation_packet));
|
||||
driver->send_control(data, ds3_activation_packet, sizeof(ds3_activation_packet));
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user