mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-31 15:23:35 +00:00
Start in settings menu on menu entry.
This commit is contained in:
parent
2ccea2299d
commit
30ac2ebfcf
@ -2288,6 +2288,17 @@ int rgui_input_postprocess(void *data, uint64_t old_state)
|
||||
g_extern.lifecycle_mode_state &= ~((1ULL << MODE_MENU_INGAME)
|
||||
| (1ULL << MODE_MENU_INGAME_EXIT));
|
||||
|
||||
if (ret < 0)
|
||||
{
|
||||
unsigned type = 0;
|
||||
rgui_list_get_last(rgui->menu_stack, NULL, &type);
|
||||
while (type != RGUI_SETTINGS)
|
||||
{
|
||||
rgui_list_pop(rgui->menu_stack, &rgui->selection_ptr);
|
||||
rgui_list_get_last(rgui->menu_stack, NULL, &type);
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user