Get rid of some hashes

This commit is contained in:
twinaphex 2017-08-19 21:10:15 +02:00
parent 0605a8d656
commit ca8fd24252

View File

@ -1193,6 +1193,16 @@ static int menu_cbs_init_bind_deferred_push_compare_label(
{
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_history_list);
}
else if (strstr(label,
msg_hash_to_str(MENU_ENUM_LABEL_SETTINGS)))
{
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_settings);
}
else if (strstr(label,
msg_hash_to_str(MENU_ENUM_LABEL_CORE_OPTIONS)))
{
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_core_options);
}
else
{
if (cbs->enum_idx != MSG_UNKNOWN)
@ -1657,12 +1667,6 @@ static int menu_cbs_init_bind_deferred_push_compare_label(
case MENU_LABEL_VIDEO_SHADER_PARAMETERS:
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_video_shader_parameters);
break;
case MENU_LABEL_SETTINGS:
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_settings);
break;
case MENU_LABEL_CORE_OPTIONS:
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_core_options);
break;
case MENU_LABEL_CORE_CHEAT_OPTIONS:
BIND_ACTION_DEFERRED_PUSH(cbs, deferred_push_core_cheat_options);
break;