mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-18 16:28:51 +00:00
Update psp_joypad.c
This commit is contained in:
parent
ef02fb8a96
commit
16de70a9d9
@ -148,7 +148,7 @@ static void psp_joypad_poll(void)
|
|||||||
* can be 0 or 1 to read the first controller on
|
* can be 0 or 1 to read the first controller on
|
||||||
* a PSTV, but HAS to be 0 for a real VITA and 2
|
* a PSTV, but HAS to be 0 for a real VITA and 2
|
||||||
* for the 2nd controller on a PSTV */
|
* for the 2nd controller on a PSTV */
|
||||||
unsigned p = (player == 1) ? 2 : player;
|
unsigned p = (player > 0) ? player+1 : player;
|
||||||
int32_t ret = CtrlPeekBufferPositive(p, &state_tmp, 1);
|
int32_t ret = CtrlPeekBufferPositive(p, &state_tmp, 1);
|
||||||
|
|
||||||
pad_state[i] = 0;
|
pad_state[i] = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user