[Wii] fixed default input configuration

This commit is contained in:
EkeEke 2017-12-22 20:05:31 +01:00
parent 46f3e640e8
commit 2656abe7af

View File

@ -1420,7 +1420,7 @@ void gx_input_SetDefault(void)
} }
/* autodetect connected Wii Controllers */ /* autodetect connected Wii Controllers */
while (i++ < 4) do
{ {
exp = 255; exp = 255;
WPAD_Probe(i, &exp); WPAD_Probe(i, &exp);
@ -1462,7 +1462,9 @@ void gx_input_SetDefault(void)
} }
} }
} }
i++;
} }
while (i < 4);
#endif #endif
/* Autodetect Gamecube Controllers */ /* Autodetect Gamecube Controllers */