[GX] fix controllers not loading autoconfig after starting games
This commit is contained in:
parent
cc2f2a5735
commit
6416f825ed
|
@ -560,6 +560,7 @@ static void gx_joypad_poll(void)
|
|||
|
||||
static bool gx_joypad_init(void *data)
|
||||
{
|
||||
int i;
|
||||
SYS_SetResetCallback(reset_cb);
|
||||
#ifdef HW_RVL
|
||||
SYS_SetPowerCallback(power_callback);
|
||||
|
@ -567,6 +568,9 @@ static bool gx_joypad_init(void *data)
|
|||
|
||||
(void)data;
|
||||
|
||||
for (i = 0; i < MAX_PADS; i++)
|
||||
pad_type[i] = 0;
|
||||
|
||||
PAD_Init();
|
||||
#ifdef HW_RVL
|
||||
WPADInit();
|
||||
|
|
Loading…
Reference in New Issue