From 77fd0ef994eaf69cde14db3366ab032fe79a27f6 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 11 Jul 2015 03:28:50 +0200 Subject: [PATCH] (RARCH_MOBILE) Make it not possible to turn off touch support for the menu --- menu/menu_setting.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/menu/menu_setting.c b/menu/menu_setting.c index 66f87ec091..889b9da612 100644 --- a/menu/menu_setting.c +++ b/menu/menu_setting.c @@ -4768,6 +4768,12 @@ static bool setting_append_list_menu_options( parent_group, general_write_handler, general_read_handler); +#ifdef RARCH_MOBILE + /* We don't want mobile users being able to switch this off. */ + (*list)[list_info->index - 1].action_left = NULL; + (*list)[list_info->index - 1].action_right = NULL; + (*list)[list_info->index - 1].action_start = NULL; +#endif END_SUB_GROUP(list, list_info, parent_group);