(Apple) Fix build

This commit is contained in:
twinaphex 2013-07-28 23:01:16 +02:00
parent 56974007ad
commit c7d3c9e955
3 changed files with 7 additions and 3 deletions

View File

@ -150,7 +150,9 @@ int main(int argc, char *argv[])
frontend_ctx->init();
rarch_main_clear_state();
#ifndef __APPLE__
rarch_get_environment(argc, argv);
#endif
#if !defined(RARCH_CONSOLE)
#if defined(__APPLE__)
@ -174,8 +176,10 @@ int main(int argc, char *argv[])
#ifdef HAVE_MENU
menu_init();
#ifndef __APPLE__
if (frontend_ctx && frontend_ctx->process_args)
frontend_ctx->process_args(argc, argv);
#endif
#ifdef RARCH_CONSOLE
g_extern.lifecycle_mode_state |= 1ULL << MODE_LOAD_GAME;

View File

@ -15,7 +15,9 @@
#include <dispatch/dispatch.h>
#include <pthread.h>
#include "../apple/RetroArch/rarch_wrapper.h"
#include "../../apple/RetroArch/rarch_wrapper.h"
#include "../frontend_context.h"
#include <stdint.h>
#include "../../boolean.h"

View File

@ -448,9 +448,7 @@ REWIND
FRONTEND
============================================================ */
#if defined(RARCH_CONSOLE)
#include "../frontend/frontend_context.c"
#endif
#if defined(__CELLOS_LV2__)
#include "../frontend/platform/platform_ps3.c"