mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Cleanups
This commit is contained in:
parent
110339c1cc
commit
b8f5f22a87
@ -116,7 +116,6 @@ static int menu_cbs_init_bind_cancel_compare_type(
|
||||
|
||||
switch (cbs->enum_idx)
|
||||
{
|
||||
|
||||
case MENU_ENUM_LABEL_CHEAT_IDX:
|
||||
case MENU_ENUM_LABEL_CHEAT_STATE:
|
||||
case MENU_ENUM_LABEL_CHEAT_DESC:
|
||||
@ -142,14 +141,12 @@ static int menu_cbs_init_bind_cancel_compare_type(
|
||||
case MENU_ENUM_LABEL_CHEAT_COPY_AFTER:
|
||||
case MENU_ENUM_LABEL_CHEAT_COPY_BEFORE:
|
||||
case MENU_ENUM_LABEL_CHEAT_DELETE:
|
||||
{
|
||||
BIND_ACTION_CANCEL(cbs, action_cancel_cheat_details);
|
||||
break ;
|
||||
}
|
||||
{
|
||||
BIND_ACTION_CANCEL(cbs, action_cancel_cheat_details);
|
||||
break ;
|
||||
}
|
||||
default :
|
||||
{
|
||||
break ;
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
@ -901,7 +901,8 @@ static int menu_cbs_init_bind_deferred_push_compare_label(
|
||||
* treatment, since the label has the format:
|
||||
* <MENU_ENUM_LABEL_DEFERRED_RDB_ENTRY_DETAIL>|<entry_name>
|
||||
* i.e. cannot use a normal string_is_equal() */
|
||||
if (string_starts_with(label, msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_RDB_ENTRY_DETAIL)))
|
||||
if (string_starts_with(label,
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_DEFERRED_RDB_ENTRY_DETAIL)))
|
||||
{
|
||||
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_rdb_entry_detail);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user