mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
Create ui_companion_driver_get_window_ptr
This commit is contained in:
parent
3e3ceba9aa
commit
77d5de3b4c
@ -169,3 +169,11 @@ void ui_companion_driver_free(void)
|
|||||||
{
|
{
|
||||||
ui_companion = NULL;
|
ui_companion = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const ui_window_t *ui_companion_driver_get_window_ptr(void)
|
||||||
|
{
|
||||||
|
const ui_companion_driver_t *ui = ui_companion_get_ptr();
|
||||||
|
if (!ui)
|
||||||
|
return NULL;
|
||||||
|
return ui->window;
|
||||||
|
}
|
||||||
|
@ -109,6 +109,8 @@ void ui_companion_driver_toggle(void);
|
|||||||
|
|
||||||
void ui_companion_driver_free(void);
|
void ui_companion_driver_free(void);
|
||||||
|
|
||||||
|
const ui_window_t *ui_companion_driver_get_window_ptr(void);
|
||||||
|
|
||||||
RETRO_END_DECLS
|
RETRO_END_DECLS
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user