mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 18:58:21 +00:00
When starting content from the cli open the quick menu.
Fix https://github.com/libretro/RetroArch/issues/5554
This commit is contained in:
parent
24d2cafbdf
commit
538d51553c
@ -910,6 +910,11 @@ static bool task_load_content(content_ctx_info_t *content_info,
|
||||
PATH_MAX_LENGTH * sizeof(char));
|
||||
}
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
/* Push quick menu onto menu stack */
|
||||
menu_driver_ctl(RARCH_MENU_CTL_SET_PENDING_QUICK_MENU, NULL);
|
||||
#endif
|
||||
|
||||
if (info && !string_is_empty(tmp))
|
||||
{
|
||||
const char *core_path = NULL;
|
||||
@ -945,7 +950,7 @@ static bool task_load_content(content_ctx_info_t *content_info,
|
||||
|
||||
if (launched_from_cli)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
settings_t *settings = config_get_ptr();
|
||||
content_ctx->history_list_enable = settings->bools.history_list_enable;
|
||||
}
|
||||
|
||||
@ -1577,8 +1582,8 @@ bool task_push_load_content_with_new_core_from_companion_ui(
|
||||
if (!task_load_content_callback(content_info, true, false))
|
||||
return false;
|
||||
|
||||
/* Push quick menu onto menu stack */
|
||||
#ifdef HAVE_MENU
|
||||
/* Push quick menu onto menu stack */
|
||||
menu_driver_ctl(RARCH_MENU_CTL_SET_PENDING_QUICK_MENU, NULL);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user