(Vita) psp_input_state - Don't early return if port is higher than 0

This commit is contained in:
twinaphex 2016-08-07 16:29:58 +02:00
parent 3964dfc2de
commit cc1d579036

View File

@ -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)
{ {