mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
(RMenu) Can now use L3 + R3 to exit ingame menu
This commit is contained in:
parent
121aaf66c0
commit
57b4de45a3
@ -3351,11 +3351,15 @@ static int menu_input_process(uint8_t menu_type, uint64_t old_state)
|
||||
|
||||
if (return_to_game_enable)
|
||||
{
|
||||
if (!(g_extern.lifecycle_mode_state & (1ULL << MODE_MENU_INGAME)))
|
||||
int ret = -1;
|
||||
if (g_extern.lifecycle_mode_state & (1ULL << MODE_MENU_INGAME))
|
||||
{
|
||||
g_extern.lifecycle_mode_state |= (1ULL << MODE_GAME);
|
||||
return -1;
|
||||
g_extern.lifecycle_mode_state |= (1ULL << MODE_MENU_INGAME_EXIT);
|
||||
ret = 0;
|
||||
}
|
||||
|
||||
g_extern.lifecycle_mode_state |= (1ULL << MODE_GAME);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user