(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);
|
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,
|
static int action_select_input_desc(const char *path, const char *label, unsigned type,
|
||||||
size_t idx, size_t entry_idx)
|
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(
|
static int menu_cbs_init_bind_select_compare_type(
|
||||||
menu_file_list_cbs_t *cbs, unsigned type)
|
menu_file_list_cbs_t *cbs, unsigned type)
|
||||||
{
|
{
|
||||||
if (type >= MENU_SETTINGS_CHEAT_BEGIN
|
if (type >= MENU_SETTINGS_INPUT_DESC_BEGIN
|
||||||
&& type <= MENU_SETTINGS_CHEAT_END)
|
|
||||||
{
|
|
||||||
BIND_ACTION_SELECT(cbs, action_select_cheat);
|
|
||||||
}
|
|
||||||
else if (type >= MENU_SETTINGS_INPUT_DESC_BEGIN
|
|
||||||
&& type <= MENU_SETTINGS_INPUT_DESC_END)
|
&& type <= MENU_SETTINGS_INPUT_DESC_END)
|
||||||
{
|
{
|
||||||
BIND_ACTION_SELECT(cbs, action_select_input_desc);
|
BIND_ACTION_SELECT(cbs, action_select_input_desc);
|
||||||
|
|
Loading…
Reference in New Issue