mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
(Menu) Refactor function into menu_entries_push call
This commit is contained in:
parent
e4745c0f24
commit
2baac0bb71
@ -807,11 +807,6 @@ int menu_parse_and_resolve(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void menu_entries_push_info(void)
|
||||
{
|
||||
file_list_push(driver.menu->menu_stack, "", "help", 0, 0);
|
||||
}
|
||||
|
||||
void menu_flush_stack_type(unsigned final_type)
|
||||
{
|
||||
const char *path = NULL;
|
||||
|
@ -24,7 +24,6 @@ void menu_entries_push(file_list_t *list,
|
||||
size_t directory_ptr, unsigned action);
|
||||
int menu_entries_push_list(menu_handle_t *menu, const char *path,
|
||||
const char *label, unsigned menu_type);
|
||||
void menu_entries_push_info(void);
|
||||
int menu_parse_check(unsigned menu_type);
|
||||
int menu_parse_and_resolve(void);
|
||||
void menu_entries_pop(void);
|
||||
|
@ -1479,7 +1479,7 @@ static void general_write_handler(const void *data)
|
||||
if (*setting->value.boolean)
|
||||
{
|
||||
#ifdef HAVE_MENU
|
||||
menu_entries_push_info();
|
||||
menu_entries_push(driver.menu->menu_stack, "", "help", 0, 0, MENU_ACTION_OK);
|
||||
#endif
|
||||
*setting->value.boolean = false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user