mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
(Vita) Try this
This commit is contained in:
parent
cc1d579036
commit
33a1a70aa8
@ -133,7 +133,11 @@ static void psp_joypad_poll(void)
|
|||||||
{
|
{
|
||||||
unsigned j, k;
|
unsigned j, k;
|
||||||
SceCtrlData state_tmp;
|
SceCtrlData state_tmp;
|
||||||
|
#if defined(SN_TARGET_PSP2) || defined(VITA)
|
||||||
|
int32_t ret = CtrlPeekBufferPositive(i + 1, &state_tmp, 1);
|
||||||
|
#else
|
||||||
int32_t ret = CtrlPeekBufferPositive(i, &state_tmp, 1);
|
int32_t ret = CtrlPeekBufferPositive(i, &state_tmp, 1);
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_KERNEL_PRX
|
#ifdef HAVE_KERNEL_PRX
|
||||||
state_tmp.Buttons = (state_tmp.Buttons & 0x0000FFFF)
|
state_tmp.Buttons = (state_tmp.Buttons & 0x0000FFFF)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user