mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
Fix --disable-menu
This commit is contained in:
parent
2c94d9a573
commit
1b5796b321
37
retroarch.c
37
retroarch.c
@ -2710,6 +2710,24 @@ static bool accessibility_speak_priority(
|
||||
const char* speak_text, int priority);
|
||||
#endif
|
||||
|
||||
int input_event_get_osk_ptr(void)
|
||||
{
|
||||
struct rarch_state *p_rarch = &rarch_st;
|
||||
return p_rarch->osk_ptr;
|
||||
}
|
||||
|
||||
char **input_event_get_osk_grid(void)
|
||||
{
|
||||
struct rarch_state *p_rarch = &rarch_st;
|
||||
return p_rarch->osk_grid;
|
||||
}
|
||||
|
||||
gfx_thumbnail_state_t *gfx_thumb_get_ptr(void)
|
||||
{
|
||||
struct rarch_state *p_rarch = &rarch_st;
|
||||
return &p_rarch->gfx_thumb_state;
|
||||
}
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
static void menu_driver_list_free(
|
||||
struct rarch_state *p_rarch,
|
||||
@ -3671,25 +3689,6 @@ static const menu_ctx_driver_t *menu_ctx_drivers[] = {
|
||||
NULL
|
||||
};
|
||||
|
||||
int input_event_get_osk_ptr(void)
|
||||
{
|
||||
struct rarch_state *p_rarch = &rarch_st;
|
||||
return p_rarch->osk_ptr;
|
||||
}
|
||||
|
||||
char **input_event_get_osk_grid(void)
|
||||
{
|
||||
struct rarch_state *p_rarch = &rarch_st;
|
||||
return p_rarch->osk_grid;
|
||||
}
|
||||
|
||||
gfx_thumbnail_state_t *gfx_thumb_get_ptr(void)
|
||||
{
|
||||
struct rarch_state *p_rarch = &rarch_st;
|
||||
return &p_rarch->gfx_thumb_state;
|
||||
}
|
||||
|
||||
|
||||
menu_handle_t *menu_driver_get_ptr(void)
|
||||
{
|
||||
struct rarch_state *p_rarch = &rarch_st;
|
||||
|
Loading…
x
Reference in New Issue
Block a user