(PS3) Add S_QUIT

This commit is contained in:
Twinaphex 2012-05-29 04:16:38 +02:00
parent 9edeec41b7
commit 7de2e41c32
3 changed files with 7 additions and 3 deletions

View File

@ -49,6 +49,11 @@ void rarch_settings_change(unsigned setting)
if(g_console.overscan_amount == 0.0f)
g_console.overscan_enable = 0;
break;
case S_QUIT:
g_console.menu_enable = false;
g_console.ingame_menu_enable = false;
g_console.mode_switch = MODE_EXIT;
break;
case S_RETURN_TO_DASHBOARD:
g_console.menu_enable = false;
g_console.initialize_rarch_enable = false;

View File

@ -24,6 +24,7 @@ enum
S_HW_TEXTURE_FILTER_2,
S_OVERSCAN_DECREMENT,
S_OVERSCAN_INCREMENT,
S_QUIT,
S_RETURN_TO_DASHBOARD,
S_RETURN_TO_GAME,
S_RETURN_TO_LAUNCHER,

View File

@ -164,10 +164,8 @@ static void callback_sysutil_exit(uint64_t status, uint64_t param, void *userdat
switch (status)
{
case CELL_SYSUTIL_REQUEST_EXITGAME:
g_console.menu_enable = false;
gl->quitting = true;
g_console.ingame_menu_enable = false;
g_console.mode_switch = MODE_EXIT;
rarch_settings_change(S_QUIT);
break;
case CELL_SYSUTIL_OSKDIALOG_FINISHED:
oskutil_close(&g_console.oskutil_handle);