mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
Make menu_ctx_driver_get_ptr public - ALWAYS make sure that
no symbols will be redefined - Griffin depends on this
This commit is contained in:
parent
f0506843c0
commit
3c7e0b29fc
@ -173,7 +173,7 @@ menu_handle_t *menu_driver_get_ptr(void)
|
||||
return driver->menu;
|
||||
}
|
||||
|
||||
static const menu_ctx_driver_t *menu_ctx_driver_get_ptr(void)
|
||||
const menu_ctx_driver_t *menu_ctx_driver_get_ptr(void)
|
||||
{
|
||||
driver_t *driver = driver_get_ptr();
|
||||
if (!driver || !driver->menu_ctx)
|
||||
|
@ -343,6 +343,8 @@ void menu_driver_list_clear(file_list_t *list);
|
||||
|
||||
void menu_driver_list_set_selection(file_list_t *list);
|
||||
|
||||
const menu_ctx_driver_t *menu_ctx_driver_get_ptr(void);
|
||||
|
||||
void menu_driver_context_destroy(void);
|
||||
|
||||
bool menu_driver_alive(void);
|
||||
|
@ -940,14 +940,6 @@ void menu_input_post_iterate(int *ret, unsigned action)
|
||||
*ret |= menu_input_pointer_post_iterate(cbs, &entry, action);
|
||||
}
|
||||
|
||||
static const menu_ctx_driver_t *menu_ctx_driver_get_ptr(void)
|
||||
{
|
||||
driver_t *driver = driver_get_ptr();
|
||||
if (!driver || !driver->menu_ctx)
|
||||
return NULL;
|
||||
return driver->menu_ctx;
|
||||
}
|
||||
|
||||
unsigned menu_input_frame(retro_input_t input, retro_input_t trigger_input)
|
||||
{
|
||||
unsigned ret = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user