From 1b5796b32191f96f26f7371635171f4ca3c926c9 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 11 Jun 2020 16:30:45 +0200 Subject: [PATCH] Fix --disable-menu --- retroarch.c | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/retroarch.c b/retroarch.c index 14e3d15af5..6413577a50 100644 --- a/retroarch.c +++ b/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;