(PS3) Add S_RETURN_TO_MENU

This commit is contained in:
Twinaphex 2012-05-29 02:33:06 +02:00
parent 487856c2c3
commit 4bb5066691
3 changed files with 7 additions and 3 deletions

View File

@ -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--;

View File

@ -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,

View File

@ -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));