mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
(PS3) Add some HAVE_OPENGL ifdefs for platform_ps3.c
This commit is contained in:
parent
f224c21b7f
commit
a26bb62a56
@ -304,7 +304,7 @@ returntype main_entry(signature())
|
|||||||
if (driver.frontend_ctx && driver.frontend_ctx->environment_get)
|
if (driver.frontend_ctx && driver.frontend_ctx->environment_get)
|
||||||
{
|
{
|
||||||
driver.frontend_ctx->environment_get(&argc, argv, args);
|
driver.frontend_ctx->environment_get(&argc, argv, args);
|
||||||
#if defined(RARCH_CONSOLE) || defined(__QNX__)
|
#if defined(RARCH_CONSOLE) || defined(RARCH_MOBILE)
|
||||||
if (*default_paths.autoconfig_dir)
|
if (*default_paths.autoconfig_dir)
|
||||||
path_mkdir(default_paths.autoconfig_dir);
|
path_mkdir(default_paths.autoconfig_dir);
|
||||||
if (*default_paths.audio_filter_dir)
|
if (*default_paths.audio_filter_dir)
|
||||||
|
@ -138,12 +138,19 @@ static void callback_sysutil_exit(uint64_t status, uint64_t param, void *userdat
|
|||||||
(void)status;
|
(void)status;
|
||||||
|
|
||||||
#ifndef IS_SALAMANDER
|
#ifndef IS_SALAMANDER
|
||||||
gl_t *gl = driver.video_data;
|
#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
|
||||||
gl->quitting = true;
|
gl->quitting = true;
|
||||||
|
#endif
|
||||||
g_extern.lifecycle_state &= ~((1ULL << MODE_MENU_PREINIT) | (1ULL << MODE_GAME));
|
g_extern.lifecycle_state &= ~((1ULL << MODE_MENU_PREINIT) | (1ULL << MODE_GAME));
|
||||||
break;
|
break;
|
||||||
#ifdef HAVE_OSK
|
#ifdef HAVE_OSK
|
||||||
|
Loading…
x
Reference in New Issue
Block a user