Change-Id: Iea771deb777222908d85dc818a5f01ad6022881c
This commit is contained in:
Solomon Peachy 2025-01-25 15:46:59 -05:00
parent 43068ef270
commit 8aa54286c4

View file

@ -408,7 +408,7 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected,
menu_callback_type menu_callback = &empty_menu_callback; menu_callback_type menu_callback = &empty_menu_callback;
/* if hide_theme is true, assume parent has been fixed before passed into /* if hide_theme is true, assume parent has been fixed before passed into
* this function, e.g. with viewport_set_defaults(parent, screen) * this function, e.g. with viewport_set_defaults(parent, screen)
* start_action allows an action to be processed * start_action allows an action to be processed
* by menu logic by bypassing get_action on the initial run */ * by menu logic by bypassing get_action on the initial run */
start_action = init_menu_lists(menu, &lists, selected, true, parent); start_action = init_menu_lists(menu, &lists, selected, true, parent);
@ -521,7 +521,7 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected,
ID2P(LANG_ONPLAY_MENU_TITLE), NULL, ID2P(LANG_ONPLAY_MENU_TITLE), NULL,
ID2P(LANG_RESET_SETTING), ID2P(LANG_RESET_SETTING),
#ifndef HAVE_QUICKSCREEN #ifndef HAVE_QUICKSCREEN
}; );
context_menu = &settings_op_menu; context_menu = &settings_op_menu;
#else #else
ID2P(LANG_TOP_QS_ITEM), ID2P(LANG_TOP_QS_ITEM),
@ -610,7 +610,7 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected,
{ {
stack_top--; stack_top--;
menu = mstack[stack_top].menu; menu = mstack[stack_top].menu;
int msel = mstack[stack_top].selected; int msel = mstack[stack_top].selected;
if (!exiting_menu && (menu->flags&MENU_EXITAFTERTHISMENU)) if (!exiting_menu && (menu->flags&MENU_EXITAFTERTHISMENU))
done = true; done = true;
else else