From 5c08e9dea45df10b2ddb732bec0662ee8a2d4054 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Andr=C3=A9=20Santoni?= Date: Mon, 26 Jan 2015 22:50:38 +0100 Subject: [PATCH] (XMB) Add core options and infos to the contextual action menu --- menu/menu.h | 4 ++++ menu/menu_entries_cbs.c | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/menu/menu.h b/menu/menu.h index c6ffd814d9..053f8e127b 100644 --- a/menu/menu.h +++ b/menu/menu.h @@ -85,6 +85,10 @@ typedef enum MENU_SETTING_DRIVER, MENU_SETTING_ACTION, MENU_SETTING_ACTION_RUN, + MENU_SETTING_ACTION_CORE_OPTIONS, + MENU_SETTING_ACTION_CORE_CHEAT_OPTIONS, + MENU_SETTING_ACTION_CORE_INFORMATION, + MENU_SETTING_ACTION_CORE_DISK_OPTIONS, MENU_SETTING_ACTION_SAVESTATE, MENU_SETTING_ACTION_LOADSTATE, MENU_SETTING_ACTION_SCREENSHOT, diff --git a/menu/menu_entries_cbs.c b/menu/menu_entries_cbs.c index f946765867..f57767c24b 100644 --- a/menu/menu_entries_cbs.c +++ b/menu/menu_entries_cbs.c @@ -2488,6 +2488,11 @@ static int deferred_push_content_actions(void *data, void *userdata, if (g_extern.main_is_init && !g_extern.libretro_dummy) { + menu_list_push(list, "Core Informations", "core_information", MENU_SETTING_ACTION_CORE_INFORMATION, 0); + menu_list_push(list, "Core Options", "core_options", MENU_SETTING_ACTION_CORE_OPTIONS, 0); + menu_list_push(list, "Core Cheat Options", "core_cheat_options", MENU_SETTING_ACTION_CORE_CHEAT_OPTIONS, 0); + if ( !g_extern.libretro_dummy && g_extern.system.disk_control.get_num_images) + menu_list_push(list, "Core Disk Options", "disk_options", MENU_SETTING_ACTION_CORE_DISK_OPTIONS, 0); menu_list_push(list, "Save State", "savestate", MENU_SETTING_ACTION_SAVESTATE, 0); menu_list_push(list, "Load State", "loadstate", MENU_SETTING_ACTION_LOADSTATE, 0); menu_list_push(list, "Take Screenshot", "take_screenshot", MENU_SETTING_ACTION_SCREENSHOT, 0);