(Vita) Autoconfigure gamepads

This commit is contained in:
twinaphex 2016-08-07 17:22:34 +02:00
parent 33a1a70aa8
commit 24817aeeac

View File

@ -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;
}