un-did the last rev cause it has some issues.

This commit is contained in:
giantpune 2009-05-31 10:35:37 +00:00
parent b757322838
commit 9508d0103d

View File

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