mirror of
https://github.com/Oibaf66/fbzx-wii.git
synced 2024-11-24 17:16:57 +01:00
Fixed bug in menu which caused crash with page down
This commit is contained in:
parent
ac2eb0cf1c
commit
aff20a44cc
@ -118,9 +118,9 @@ static const char *screen_messages[] = {
|
||||
/*05*/ " ",
|
||||
/*06*/ "Buffer resolution",
|
||||
/*07*/ "^|640X480|320X240",
|
||||
/*08*/ " ",
|
||||
/*09 "576p video mode",*/
|
||||
/*10 "^|on|off",*/
|
||||
/*08* " ",
|
||||
*09* "576p video mode",
|
||||
*10* "^|on|off",*/
|
||||
NULL
|
||||
};
|
||||
|
||||
@ -139,7 +139,7 @@ static const char *input_messages[] = {
|
||||
/*11*/ "^|On|Off",
|
||||
/*12*/ "Rumble",
|
||||
/*13*/ "^|On|Off",
|
||||
NULL,
|
||||
NULL
|
||||
};
|
||||
|
||||
static const char *microdrive_messages[] = {
|
||||
@ -188,7 +188,7 @@ static const char *help_messages[] = {
|
||||
/*12*/ "#2 http://wiibrew.org/wiki/FBZX_Wii",
|
||||
/*13*/ "#2 ",
|
||||
/*14*/ "OK",
|
||||
NULL,
|
||||
NULL
|
||||
};
|
||||
|
||||
static const char *confs_messages[] = {
|
||||
|
@ -816,6 +816,7 @@ static void select_next(menu_t *p_menu, int dx, int dy, int cicle)
|
||||
|
||||
p_menu->cur_sel = get_next_seq_y(p_menu, p_menu->cur_sel, dy, cicle);
|
||||
next = get_next_seq_y(p_menu, p_menu->cur_sel, dy + 1, cicle);
|
||||
if (IS_SUBMENU(p_menu->pp_msgs[p_menu->cur_sel])&&(dy!=1)&&(dy!=-1)) p_menu->cur_sel--;
|
||||
if (p_menu->pp_msgs[p_menu->cur_sel][0] == ' ' ||
|
||||
p_menu->pp_msgs[p_menu->cur_sel][0] == '#' ||
|
||||
IS_SUBMENU(p_menu->pp_msgs[p_menu->cur_sel]) )
|
||||
|
Loading…
Reference in New Issue
Block a user