mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-26 21:36:26 +00:00
(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;
|
||||
|
||||
#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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user