[GX] fix controllers not loading autoconfig after starting games

This commit is contained in:
Toad King 2015-06-24 22:42:43 -05:00
parent cc2f2a5735
commit 6416f825ed
1 changed files with 4 additions and 0 deletions

View File

@ -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();