mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(Menu) Move menu_push_info_screen to menu_entries.c
This commit is contained in:
parent
c0b100002c
commit
de0ba69948
@ -708,11 +708,6 @@ void menu_build_scroll_indices(file_list_t *buf)
|
||||
buf->size - 1;
|
||||
}
|
||||
|
||||
void menu_push_info_screen(void)
|
||||
{
|
||||
file_list_push(driver.menu->menu_stack, "", "help", 0, 0);
|
||||
}
|
||||
|
||||
unsigned menu_common_type_is(unsigned type)
|
||||
{
|
||||
if (
|
||||
|
@ -199,7 +199,6 @@ uint64_t menu_input(void);
|
||||
void menu_flush_stack_type(unsigned final_type);
|
||||
void menu_update_system_info(menu_handle_t *menu, bool *load_no_content);
|
||||
void menu_build_scroll_indices(file_list_t *buf);
|
||||
void menu_push_info_screen(void);
|
||||
unsigned menu_common_type_is(unsigned type);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -797,3 +797,8 @@ int menu_parse_and_resolve(void)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void menu_entries_push_info(void)
|
||||
{
|
||||
file_list_push(driver.menu->menu_stack, "", "help", 0, 0);
|
||||
}
|
||||
|
@ -21,6 +21,7 @@
|
||||
|
||||
int menu_entries_push(menu_handle_t *menu, const char *path,
|
||||
const char *label, unsigned menu_type);
|
||||
void menu_entries_push_info(void);
|
||||
int menu_parse_and_resolve(void);
|
||||
|
||||
#endif
|
||||
|
@ -33,6 +33,10 @@
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
#include "frontend/menu/menu_entries.h"
|
||||
#endif
|
||||
|
||||
static void get_input_config_prefix(char *buf, size_t sizeof_buf,
|
||||
const rarch_setting_t *setting)
|
||||
{
|
||||
@ -1474,8 +1478,7 @@ static void general_write_handler(const void *data)
|
||||
if (*setting->value.boolean)
|
||||
{
|
||||
#ifdef HAVE_MENU
|
||||
extern void menu_push_info_screen(void);
|
||||
menu_push_info_screen();
|
||||
menu_entries_push_info();
|
||||
#endif
|
||||
*setting->value.boolean = false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user