mirror of
https://github.com/wiidev/usbloadergx.git
synced 2025-01-10 18:59:24 +01:00
*Forgot about FlipX control when added the Carousel stuff. This should fix the wrong navigation.
This commit is contained in:
parent
58ceb5c8bb
commit
8620ab0702
File diff suppressed because one or more lines are too long
@ -280,10 +280,19 @@ void GuiGameCarousel::Update(GuiTrigger * t)
|
||||
btnRight->Update(t);
|
||||
btnLeft->Update(t);
|
||||
|
||||
if(btnRight->GetState() == STATE_CLICKED)
|
||||
NewOffset(listOffset, -1);
|
||||
else if(btnLeft->GetState() == STATE_CLICKED)
|
||||
NewOffset(listOffset, 1);
|
||||
if(btnRight->GetState() == STATE_CLICKED) {
|
||||
if(Settings.xflip==sysmenu ||Settings.xflip==yes) {
|
||||
NewOffset(listOffset, 1);
|
||||
} else {
|
||||
NewOffset(listOffset, -1);
|
||||
}
|
||||
} else if(btnLeft->GetState() == STATE_CLICKED) {
|
||||
if(Settings.xflip==sysmenu ||Settings.xflip==yes) {
|
||||
NewOffset(listOffset, -1);
|
||||
} else {
|
||||
NewOffset(listOffset, 1);
|
||||
}
|
||||
}
|
||||
|
||||
int next = listOffset;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user