mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
(Mobile) Should no longer crash when clicking on a cheat entry
This commit is contained in:
parent
2512365012
commit
cbcdfa572a
@ -122,12 +122,6 @@ static int action_select_core_setting(const char *path, const char *label, unsig
|
||||
return action_ok_core_option_dropdown_list(path, label, type, idx, 0);
|
||||
}
|
||||
|
||||
static int action_select_cheat(const char *path, const char *label, unsigned type,
|
||||
size_t idx, size_t entry_idx)
|
||||
{
|
||||
return action_right_cheat(type, label, true);
|
||||
}
|
||||
|
||||
static int action_select_input_desc(const char *path, const char *label, unsigned type,
|
||||
size_t idx, size_t entry_idx)
|
||||
{
|
||||
@ -178,12 +172,7 @@ static int action_select_netplay_connect_room(const char *path,
|
||||
static int menu_cbs_init_bind_select_compare_type(
|
||||
menu_file_list_cbs_t *cbs, unsigned type)
|
||||
{
|
||||
if (type >= MENU_SETTINGS_CHEAT_BEGIN
|
||||
&& type <= MENU_SETTINGS_CHEAT_END)
|
||||
{
|
||||
BIND_ACTION_SELECT(cbs, action_select_cheat);
|
||||
}
|
||||
else if (type >= MENU_SETTINGS_INPUT_DESC_BEGIN
|
||||
if (type >= MENU_SETTINGS_INPUT_DESC_BEGIN
|
||||
&& type <= MENU_SETTINGS_INPUT_DESC_END)
|
||||
{
|
||||
BIND_ACTION_SELECT(cbs, action_select_input_desc);
|
||||
|
Loading…
x
Reference in New Issue
Block a user