mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
(RGUI) RGUI_ACTION_SETTINGS was deprecated - get rid of it
This commit is contained in:
parent
7056edf143
commit
af8caf45f7
@ -744,10 +744,8 @@ bool menu_iterate(void)
|
||||
action = RGUI_ACTION_CANCEL;
|
||||
else if (rgui->trigger_state & (1ULL << RETRO_DEVICE_ID_JOYPAD_A))
|
||||
action = RGUI_ACTION_OK;
|
||||
else if (rgui->trigger_state & (1ULL << RETRO_DEVICE_ID_JOYPAD_SELECT))
|
||||
action = RGUI_ACTION_START;
|
||||
else if (rgui->trigger_state & (1ULL << RETRO_DEVICE_ID_JOYPAD_START))
|
||||
action = RGUI_ACTION_SETTINGS;
|
||||
action = RGUI_ACTION_START;
|
||||
|
||||
if (menu_ctx && menu_ctx->iterate)
|
||||
input_entry_ret = menu_ctx->iterate(rgui, action);
|
||||
|
@ -174,7 +174,6 @@ typedef enum
|
||||
RGUI_ACTION_OK,
|
||||
RGUI_ACTION_CANCEL,
|
||||
RGUI_ACTION_REFRESH,
|
||||
RGUI_ACTION_SETTINGS,
|
||||
RGUI_ACTION_START,
|
||||
RGUI_ACTION_MESSAGE,
|
||||
RGUI_ACTION_SCROLL_DOWN,
|
||||
|
@ -2292,10 +2292,6 @@ static int rgui_viewport_iterate(rgui_handle_t *rgui, rgui_action_t action)
|
||||
}
|
||||
break;
|
||||
|
||||
case RGUI_ACTION_SETTINGS:
|
||||
rgui_list_pop(rgui->menu_stack, &rgui->selection_ptr);
|
||||
break;
|
||||
|
||||
case RGUI_ACTION_MESSAGE:
|
||||
rgui->msg_force = true;
|
||||
break;
|
||||
@ -2892,12 +2888,6 @@ static int rgui_iterate(void *data, unsigned action)
|
||||
rgui->need_refresh = true;
|
||||
break;
|
||||
|
||||
case RGUI_ACTION_SETTINGS:
|
||||
rgui->need_refresh = true;
|
||||
while (rgui->menu_stack->size > 1)
|
||||
rgui_list_pop(rgui->menu_stack, &rgui->selection_ptr);
|
||||
return rgui_settings_iterate(rgui, RGUI_ACTION_REFRESH);
|
||||
|
||||
case RGUI_ACTION_MESSAGE:
|
||||
rgui->msg_force = true;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user