mirror of
https://github.com/modmii/YAWM-ModMii-Edition.git
synced 2024-11-22 08:09:18 +01:00
make LEFT/RIGHT on wad list menu more natural
This commit is contained in:
parent
d18498361e
commit
60c42a760c
@ -1077,7 +1077,7 @@ getList:
|
|||||||
selected += ENTRIES_PER_PAGE;
|
selected += ENTRIES_PER_PAGE;
|
||||||
|
|
||||||
if (selected >= fileCnt)
|
if (selected >= fileCnt)
|
||||||
selected = 0;
|
selected = fileCnt - 1;
|
||||||
}
|
}
|
||||||
else if (buttons & WPAD_BUTTON_DOWN)
|
else if (buttons & WPAD_BUTTON_DOWN)
|
||||||
{
|
{
|
||||||
@ -1089,7 +1089,7 @@ getList:
|
|||||||
selected -= ENTRIES_PER_PAGE;
|
selected -= ENTRIES_PER_PAGE;
|
||||||
|
|
||||||
if (selected < 0)
|
if (selected < 0)
|
||||||
selected = (fileCnt - 1);
|
selected = 0;
|
||||||
}
|
}
|
||||||
else if (buttons & WPAD_BUTTON_HOME)
|
else if (buttons & WPAD_BUTTON_HOME)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user