(PSL1GHT) At last it links... now prepare for onslaught of trouble

This commit is contained in:
Twinaphex 2012-09-14 05:07:33 +02:00
parent cfcd80328a
commit 2cf02a50b7
3 changed files with 22 additions and 1 deletions

View File

@ -161,7 +161,7 @@ FONTS
#include "../../gfx/fonts/xdk1_xfonts.c"
#elif defined(_XBOX360)
#include "../../gfx/fonts/xdk360_fonts.cpp"
#elif defined(ANDROID)
#elif !defined(GEKKO)
#include "../../gfx/fonts/null_fonts.c"
#endif

View File

@ -898,6 +898,7 @@ static void gl_glsl_reset_attrib(void)
bool gl_glsl_init(const char *path)
{
#ifndef __PSL1GHT__
// Load shader functions.
LOAD_GL_SYM(CreateProgram);
LOAD_GL_SYM(UseProgram);
@ -940,6 +941,7 @@ bool gl_glsl_init(const char *path)
RARCH_ERR("GLSL shaders aren't supported by your OpenGL driver.\n");
return false;
}
#endif
#ifdef HAVE_XML
struct shader_program progs[MAX_PROGRAMS];

View File

@ -51,7 +51,10 @@
#include "../../gfx/gl_common.h"
#include "../../console/rarch_console.h"
#ifdef HAVE_RARCH_EXEC
#include "../../console/rarch_console_exec.h"
#endif
#include "../../console/rarch_console_libretro_mgmt.h"
@ -113,6 +116,20 @@ static void callback_sysutil_exit(uint64_t status, uint64_t param, void *userdat
}
#endif
#ifdef __PSL1GHT__
void menu_init (void)
{
}
void menu_loop (void)
{
}
void menu_free (void)
{
}
#endif
static void get_environment_settings(int argc, char *argv[])
{
g_extern.verbose = true;
@ -399,8 +416,10 @@ begin_shutdown:
}
#endif
#ifdef HAVE_RARCH_EXEC
if(g_console.return_to_launcher)
rarch_console_exec(g_console.launch_app_on_exit);
#endif
return 1;
}