mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(VITA) Add PSTV two players mode
This commit is contained in:
parent
24817aeeac
commit
ab9b2f5998
@ -138,7 +138,7 @@ static void psp_joypad_poll(void)
|
||||
unsigned j, k;
|
||||
SceCtrlData state_tmp;
|
||||
#if defined(SN_TARGET_PSP2) || defined(VITA)
|
||||
int32_t ret = CtrlPeekBufferPositive(i + 1, &state_tmp, 1);
|
||||
int32_t ret = CtrlPeekBufferPositive(i, &state_tmp, 1);
|
||||
#else
|
||||
int32_t ret = CtrlPeekBufferPositive(i, &state_tmp, 1);
|
||||
#endif
|
||||
@ -186,7 +186,7 @@ static void psp_joypad_poll(void)
|
||||
|
||||
static bool psp_joypad_query_pad(unsigned pad)
|
||||
{
|
||||
return pad < PSP_MAX_PADS && pad_state;
|
||||
return pad < PSP_MAX_PADS && pad_state[pad];
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user