(PSP) Rumble code should be only for Vita build

This commit is contained in:
twinaphex 2016-09-01 17:09:54 +02:00
parent 3a72479699
commit 6efdfdebd4

View File

@ -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, &params);
return true;
#else
return false;
#endif
}