From d603c24fb2ca7e0956dae733670ba7b9ea75d9c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Andr=C3=A9=20Santoni?= Date: Wed, 28 Jan 2015 19:43:41 +0100 Subject: [PATCH] (XMB) Add input remapping options to the contextual menu --- menu/menu.h | 1 + menu/menu_entries_cbs.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/menu/menu.h b/menu/menu.h index 053f8e127b..0fe35c86b8 100644 --- a/menu/menu.h +++ b/menu/menu.h @@ -86,6 +86,7 @@ typedef enum MENU_SETTING_ACTION, MENU_SETTING_ACTION_RUN, MENU_SETTING_ACTION_CORE_OPTIONS, + MENU_SETTING_ACTION_CORE_INPUT_REMAPPING_OPTIONS, MENU_SETTING_ACTION_CORE_CHEAT_OPTIONS, MENU_SETTING_ACTION_CORE_INFORMATION, MENU_SETTING_ACTION_CORE_DISK_OPTIONS, diff --git a/menu/menu_entries_cbs.c b/menu/menu_entries_cbs.c index 96bafc1a31..6cf83e5d1e 100644 --- a/menu/menu_entries_cbs.c +++ b/menu/menu_entries_cbs.c @@ -3091,6 +3091,8 @@ static int deferred_push_content_actions(void *data, void *userdata, menu_list_push(list, "Resume", "file_load_or_resume", MENU_SETTING_ACTION_RUN, 0); 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); + if (g_extern.has_set_input_descriptors) + menu_list_push(list, "Core Input Remapping Options", "core_input_remapping_options", MENU_SETTING_ACTION_CORE_INPUT_REMAPPING_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);