mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +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,
|
||||
enum retro_rumble_effect effect, uint16_t strength)
|
||||
{
|
||||
#ifdef VITA
|
||||
struct SceCtrlActuator params = {
|
||||
0,
|
||||
0
|
||||
@ -222,6 +223,9 @@ static bool psp_joypad_rumble(unsigned pad,
|
||||
sceCtrlSetActuator(p, ¶ms);
|
||||
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user