mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
(PSP) Rumble code should be only for Vita build
This commit is contained in:
parent
3a72479699
commit
6efdfdebd4
@ -200,6 +200,7 @@ static bool psp_joypad_query_pad(unsigned pad)
|
|||||||
static bool psp_joypad_rumble(unsigned pad,
|
static bool psp_joypad_rumble(unsigned pad,
|
||||||
enum retro_rumble_effect effect, uint16_t strength)
|
enum retro_rumble_effect effect, uint16_t strength)
|
||||||
{
|
{
|
||||||
|
#ifdef VITA
|
||||||
struct SceCtrlActuator params = {
|
struct SceCtrlActuator params = {
|
||||||
0,
|
0,
|
||||||
0
|
0
|
||||||
@ -222,6 +223,9 @@ static bool psp_joypad_rumble(unsigned pad,
|
|||||||
sceCtrlSetActuator(p, ¶ms);
|
sceCtrlSetActuator(p, ¶ms);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
#else
|
||||||
|
return false;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user