From 2157e8389ca8da172c9d81f43832e500efcd521c Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 22 Oct 2015 06:01:46 +0200 Subject: [PATCH] (XMB) Show Quick Menu dynamically again --- menu/drivers/xmb.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index e6eb345de1..a921684109 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -2614,14 +2614,18 @@ static int xmb_list_bind_init(menu_file_list_cbs_t *cbs, static int xmb_list_push(menu_displaylist_info_t *info, unsigned type) { int ret = -1; - menu_handle_t *menu = menu_driver_get_ptr(); + menu_handle_t *menu = menu_driver_get_ptr(); + global_t *global = global_get_ptr(); switch (type) { case DISPLAYLIST_MAIN_MENU: menu_entries_clear(info->list); - menu_displaylist_parse_settings(menu, info, - menu_hash_to_str(MENU_LABEL_CONTENT_SETTINGS), PARSE_ACTION); + + if (global->inited.main && (global->inited.core.type != CORE_TYPE_DUMMY)) + menu_displaylist_parse_settings(menu, info, + menu_hash_to_str(MENU_LABEL_CONTENT_SETTINGS), PARSE_ACTION); + #if defined(HAVE_DYNAMIC) || defined(HAVE_LIBRETRO_MANAGEMENT) menu_displaylist_parse_settings(menu, info, menu_hash_to_str(MENU_LABEL_CORE_LIST), PARSE_ACTION);