mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
(Vita) psp_input_state - Don't early return if port is higher than 0
This commit is contained in:
parent
3964dfc2de
commit
cc1d579036
@ -39,8 +39,6 @@
|
|||||||
#include "../../bootstrap/psp1/kernel_functions.h"
|
#include "../../bootstrap/psp1/kernel_functions.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MAX_PADS 1
|
|
||||||
|
|
||||||
typedef struct psp_input
|
typedef struct psp_input
|
||||||
{
|
{
|
||||||
bool blocked;
|
bool blocked;
|
||||||
@ -63,8 +61,10 @@ static int16_t psp_input_state(void *data, const struct retro_keybind **binds,
|
|||||||
{
|
{
|
||||||
psp_input_t *psp = (psp_input_t*)data;
|
psp_input_t *psp = (psp_input_t*)data;
|
||||||
|
|
||||||
|
#if !defined(SN_TARGET_PSP2) && !defined(VITA)
|
||||||
if (port > 0)
|
if (port > 0)
|
||||||
return 0;
|
return 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
switch (device)
|
switch (device)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user