mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(Vita) Autoconfigure gamepads
This commit is contained in:
parent
33a1a70aa8
commit
24817aeeac
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user