mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-27 06:11:51 +00:00
(PS3) Add S_RETURN_TO_MENU
This commit is contained in:
parent
487856c2c3
commit
4bb5066691
@ -60,6 +60,11 @@ void rarch_settings_change(unsigned setting)
|
||||
g_console.menu_enable = false;
|
||||
g_console.mode_switch = MODE_EMULATION;
|
||||
break;
|
||||
case S_RETURN_TO_MENU:
|
||||
g_console.menu_enable = false;
|
||||
g_console.ingame_menu_item = 0;
|
||||
g_console.mode_switch = MODE_MENU;
|
||||
break;
|
||||
case S_ROTATION_DECREMENT:
|
||||
if(g_console.screen_orientation > ORIENTATION_NORMAL)
|
||||
g_console.screen_orientation--;
|
||||
|
@ -26,6 +26,7 @@ enum
|
||||
S_OVERSCAN_INCREMENT,
|
||||
S_RETURN_TO_DASHBOARD,
|
||||
S_RETURN_TO_GAME,
|
||||
S_RETURN_TO_MENU,
|
||||
S_ROTATION_DECREMENT,
|
||||
S_ROTATION_INCREMENT,
|
||||
S_SAVESTATE_DECREMENT,
|
||||
|
@ -2387,9 +2387,7 @@ static void ingame_menu(uint32_t menu_id)
|
||||
case MENU_ITEM_RETURN_TO_MENU:
|
||||
if(CTRL_CROSS(state))
|
||||
{
|
||||
g_console.menu_enable = false;
|
||||
g_console.ingame_menu_item = 0;
|
||||
g_console.mode_switch = MODE_MENU;
|
||||
rarch_settings_change(S_RETURN_TO_MENU);
|
||||
set_delay = DELAY_MEDIUM;
|
||||
}
|
||||
strlcpy(comment, "Press 'CROSS' to return to the ROM Browser menu.", sizeof(comment));
|
||||
|
Loading…
x
Reference in New Issue
Block a user