mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 00:39:53 +00:00
(RMenu) Fixed 'Change Game' action
This commit is contained in:
parent
5d3949c610
commit
f5667f0297
@ -2384,7 +2384,7 @@ static int set_setting_action(uint8_t menu_type, unsigned switchvalue, uint64_t
|
||||
if (input & (1ULL << RMENU_DEVICE_NAV_B))
|
||||
menu_stack_push(INGAME_MENU_SCREENSHOT);
|
||||
break;
|
||||
case INGAME_MENU_CHANGE_GAME:
|
||||
case INGAME_MENU_RETURN_TO_GAME:
|
||||
if (input & (1ULL << RMENU_DEVICE_NAV_B))
|
||||
{
|
||||
g_extern.lifecycle_mode_state |= (1ULL << MODE_GAME);
|
||||
@ -2392,6 +2392,14 @@ static int set_setting_action(uint8_t menu_type, unsigned switchvalue, uint64_t
|
||||
return -1;
|
||||
}
|
||||
break;
|
||||
case INGAME_MENU_CHANGE_GAME:
|
||||
if (input & (1ULL << RMENU_DEVICE_NAV_B))
|
||||
{
|
||||
g_extern.lifecycle_mode_state |= (1ULL << MODE_GAME);
|
||||
g_extern.lifecycle_mode_state |= (1ULL << MODE_MENU_INGAME_EXIT);
|
||||
return 0;
|
||||
}
|
||||
break;
|
||||
case INGAME_MENU_RESET:
|
||||
if (input & (1ULL << RMENU_DEVICE_NAV_B))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user