mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +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)
|
||||
{
|
||||
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)
|
||||
path_mkdir(default_paths.autoconfig_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;
|
||||
|
||||
#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)
|
||||
{
|
||||
case CELL_SYSUTIL_REQUEST_EXITGAME:
|
||||
#ifdef HAVE_OPENGL
|
||||
gl->quitting = true;
|
||||
#endif
|
||||
g_extern.lifecycle_state &= ~((1ULL << MODE_MENU_PREINIT) | (1ULL << MODE_GAME));
|
||||
break;
|
||||
#ifdef HAVE_OSK
|
||||
|
Loading…
x
Reference in New Issue
Block a user