mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-12-18 16:01:58 +01:00
*Forgot to uncomment a few lines I commented out for testing
This commit is contained in:
parent
52a1eed0b0
commit
95c7c51355
@ -316,12 +316,12 @@ void GuiGameCarousel::Update(GuiTrigger * t)
|
||||
game[bob[i]]->SetState(STATE_DISABLED);
|
||||
}
|
||||
|
||||
// if(focus) {
|
||||
// if(i != selectedItem && game[bob[i]]->GetState() == STATE_SELECTED)
|
||||
// game[bob[i]]->ResetState();
|
||||
// else if(i == selectedItem && game[bob[i]]->GetState() == STATE_DEFAULT);
|
||||
// game[bob[selectedItem]]->SetState(STATE_SELECTED, t->chan);
|
||||
// }
|
||||
if(focus) {
|
||||
if(i != selectedItem && game[bob[i]]->GetState() == STATE_SELECTED)
|
||||
game[bob[i]]->ResetState();
|
||||
else if(i == selectedItem && game[bob[i]]->GetState() == STATE_DEFAULT);
|
||||
game[bob[selectedItem]]->SetState(STATE_SELECTED, t->chan);
|
||||
}
|
||||
game[bob[i]]->Update(t);
|
||||
|
||||
if(game[bob[i]]->GetState() == STATE_SELECTED) {
|
||||
|
Loading…
Reference in New Issue
Block a user