mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +00:00
(XDK1) Build fix
This commit is contained in:
parent
0dbbc33529
commit
0b307dc9fb
@ -300,8 +300,9 @@ static bool xdk_input_set_rumble(void *data, unsigned port, enum retro_rumble_ef
|
|||||||
rumble_state.Rumble.wLeftMotorSpeed = strength;
|
rumble_state.Rumble.wLeftMotorSpeed = strength;
|
||||||
else if (effect == RETRO_RUMBLE_WEAK)
|
else if (effect == RETRO_RUMBLE_WEAK)
|
||||||
rumble_state.Rumble.wRightMotorSpeed = strength;
|
rumble_state.Rumble.wRightMotorSpeed = strength;
|
||||||
val = XInputSetState(xdk->gamepads[port], port, &rumble_state) == ERROR_SUCCESS;
|
val = XInputSetState(xdk->gamepads[port], &rumble_state) == ERROR_SUCCESS;
|
||||||
#endif
|
#endif
|
||||||
|
return val;
|
||||||
}
|
}
|
||||||
|
|
||||||
const input_driver_t input_xinput =
|
const input_driver_t input_xinput =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user