mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-19 09:49:21 +01:00
un-did the last rev cause it has some issues.
This commit is contained in:
parent
b757322838
commit
9508d0103d
@ -2509,14 +2509,16 @@ UpdateGUI (void *arg)
|
|||||||
{
|
{
|
||||||
DoRumble(i);
|
DoRumble(i);
|
||||||
}
|
}
|
||||||
if(WPAD_Probe(i, NULL) == WPAD_ERR_NO_CONTROLLER){
|
/*if(WPAD_Probe(i, NULL) == WPAD_ERR_NO_CONTROLLER){
|
||||||
noControllers++;
|
noControllers++;
|
||||||
if (noControllers == 4){
|
if (noControllers == 4){
|
||||||
mainWindow->SetState(STATE_DISABLED);
|
mainWindow->SetState(STATE_DISABLED);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {noControllers =0;
|
else {noControllers =0;
|
||||||
mainWindow->SetState(STATE_DEFAULT);}
|
if (mainWindow->GetState()==STATE_DISABLED);
|
||||||
|
|
||||||
|
mainWindow->SetState(STATE_DEFAULT);}*/
|
||||||
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@ -4502,6 +4504,7 @@ static int MenuSettings()
|
|||||||
tabBtn.SetAlignment(ALIGN_CENTRE, ALIGN_TOP);
|
tabBtn.SetAlignment(ALIGN_CENTRE, ALIGN_TOP);
|
||||||
tabBtn.SetPosition(-202, 90);
|
tabBtn.SetPosition(-202, 90);
|
||||||
tabBtn.SetImage(&tab1Img);
|
tabBtn.SetImage(&tab1Img);
|
||||||
|
tabBtn.SetRumble(false);
|
||||||
|
|
||||||
GuiButton page1Btn(40, 96);
|
GuiButton page1Btn(40, 96);
|
||||||
page1Btn.SetAlignment(ALIGN_CENTRE, ALIGN_TOP);
|
page1Btn.SetAlignment(ALIGN_CENTRE, ALIGN_TOP);
|
||||||
|
Loading…
Reference in New Issue
Block a user