mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-12 04:31:19 +00:00
ui_companion_driver_toggle - turn into static function
This commit is contained in:
parent
637ff87e3f
commit
4467f811e0
@ -1191,6 +1191,8 @@ static char current_savestate_dir[PATH_MAX_LENGTH] = {0};
|
||||
static char dir_savestate[PATH_MAX_LENGTH] = {0};
|
||||
|
||||
/* Forward declarations */
|
||||
static void ui_companion_driver_toggle(bool force);
|
||||
|
||||
static const void *location_driver_find_handle(int idx);
|
||||
static const void *audio_driver_find_handle(int idx);
|
||||
static const void *video_driver_find_handle(int idx);
|
||||
@ -11532,7 +11534,7 @@ void ui_companion_driver_init_first(void)
|
||||
}
|
||||
}
|
||||
|
||||
void ui_companion_driver_toggle(bool force)
|
||||
static void ui_companion_driver_toggle(bool force)
|
||||
{
|
||||
#ifdef HAVE_QT
|
||||
settings_t *settings = configuration_settings;
|
||||
@ -11547,7 +11549,7 @@ void ui_companion_driver_toggle(bool force)
|
||||
if ((settings->bools.ui_companion_toggle || force) && !qt_is_inited)
|
||||
{
|
||||
ui_companion_qt_data = ui_companion_qt.init();
|
||||
qt_is_inited = true;
|
||||
qt_is_inited = true;
|
||||
}
|
||||
|
||||
if (ui_companion_qt.toggle && qt_is_inited)
|
||||
|
@ -178,8 +178,6 @@ void ui_companion_driver_notify_list_loaded(file_list_t *list, file_list_t *menu
|
||||
|
||||
void ui_companion_driver_notify_content_loaded(void);
|
||||
|
||||
void ui_companion_driver_toggle(bool force);
|
||||
|
||||
void ui_companion_driver_free(void);
|
||||
|
||||
const ui_msg_window_t *ui_companion_driver_get_msg_window_ptr(void);
|
||||
|
Loading…
x
Reference in New Issue
Block a user