diff --git a/input/drivers_joypad/psp_joypad.c b/input/drivers_joypad/psp_joypad.c index 44e6c84b64..b4c8c3ff31 100644 --- a/input/drivers_joypad/psp_joypad.c +++ b/input/drivers_joypad/psp_joypad.c @@ -53,9 +53,13 @@ static void psp_joypad_autodetect_add(unsigned autoconf_pad) static bool psp_joypad_init(void *data) { + unsigned i; + unsigned players_count = PSP_MAX_PADS; + (void)data; - psp_joypad_autodetect_add(0); + for (i = 0; i < players_count; i++) + psp_joypad_autodetect_add(i); return true; }