(PS3) Cleanup callback_sysutil_exit

This commit is contained in:
twinaphex 2014-06-13 18:18:10 +02:00
parent f2e4625858
commit ece82786db

View File

@ -56,20 +56,11 @@ static void callback_sysutil_exit(uint64_t status, uint64_t param, void *userdat
(void)status;
#ifndef IS_SALAMANDER
#ifdef HAVE_OPENGL
gl_t *gl = (gl_t*)driver.video_data;
if (!gl)
return;
#endif
switch (status)
{
case CELL_SYSUTIL_REQUEST_EXITGAME:
#ifdef HAVE_OPENGL
gl->quitting = true;
#endif
g_extern.lifecycle_state &= ~((1ULL << MODE_MENU_PREINIT) | (1ULL << MODE_GAME));
g_extern.system.shutdown = true;
break;
#ifdef HAVE_OSK
case CELL_SYSUTIL_OSKDIALOG_LOADED: