(PS3) Cleanup callback_sysutil_exit
This commit is contained in:
parent
f2e4625858
commit
ece82786db
|
@ -56,20 +56,11 @@ static void callback_sysutil_exit(uint64_t status, uint64_t param, void *userdat
|
||||||
(void)status;
|
(void)status;
|
||||||
|
|
||||||
#ifndef IS_SALAMANDER
|
#ifndef IS_SALAMANDER
|
||||||
#ifdef HAVE_OPENGL
|
|
||||||
gl_t *gl = (gl_t*)driver.video_data;
|
|
||||||
|
|
||||||
if (!gl)
|
|
||||||
return;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
switch (status)
|
switch (status)
|
||||||
{
|
{
|
||||||
case CELL_SYSUTIL_REQUEST_EXITGAME:
|
case CELL_SYSUTIL_REQUEST_EXITGAME:
|
||||||
#ifdef HAVE_OPENGL
|
g_extern.system.shutdown = true;
|
||||||
gl->quitting = true;
|
|
||||||
#endif
|
|
||||||
g_extern.lifecycle_state &= ~((1ULL << MODE_MENU_PREINIT) | (1ULL << MODE_GAME));
|
|
||||||
break;
|
break;
|
||||||
#ifdef HAVE_OSK
|
#ifdef HAVE_OSK
|
||||||
case CELL_SYSUTIL_OSKDIALOG_LOADED:
|
case CELL_SYSUTIL_OSKDIALOG_LOADED:
|
||||||
|
|
Loading…
Reference in New Issue