mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2025-01-13 11:49:06 +01:00
[Gamecube/Wii] fixed arrow buttons in Cheats Menu
This commit is contained in:
parent
8fbe871e3f
commit
6052d29a24
@ -870,6 +870,13 @@ void CheatMenu(void)
|
|||||||
m->max_items = (maxcheats < MAX_CHEATS) ? (maxcheats + 1) : MAX_CHEATS;
|
m->max_items = (maxcheats < MAX_CHEATS) ? (maxcheats + 1) : MAX_CHEATS;
|
||||||
m->max_buttons = 10;
|
m->max_buttons = 10;
|
||||||
m->helpers[1] = NULL;
|
m->helpers[1] = NULL;
|
||||||
|
|
||||||
|
/* check if arrow button is high-lighted */
|
||||||
|
if (m->selected >= 30)
|
||||||
|
{
|
||||||
|
/* adjust selected button index */
|
||||||
|
m->selected -= 20;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HW_RVL
|
#ifdef HW_RVL
|
||||||
@ -906,7 +913,7 @@ void CheatMenu(void)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* arrow button is selected */
|
/* arrow button is selected */
|
||||||
m->selected += 30;
|
m->selected += 20;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* save cheats list offset */
|
/* save cheats list offset */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user