(APPLE) Build fixes for new frontend.c

This commit is contained in:
twinaphex 2013-07-16 22:44:34 +02:00
parent 628426f8e8
commit d3acd123f1
2 changed files with 7 additions and 1 deletions

View File

@ -257,9 +257,9 @@ int rarch_main(int argc, char *argv[])
#if !defined(__APPLE__)
rarch_main_clear_state();
rarch_get_environment(argc, argv);
#endif
rarch_get_environment(argc, argv);
#if !defined(RARCH_CONSOLE)
#if defined(__APPLE__)
@ -434,7 +434,9 @@ int rarch_main(int argc, char *argv[])
return 0;
}
#ifndef __APPLE__
int main(int argc, char *argv[])
{
return rarch_main(argc, argv);
}
#endif

View File

@ -670,7 +670,11 @@ bool config_save_keybinds(const char *path);
void rarch_game_reset(void);
void rarch_main_clear_state(void);
void rarch_init_system_info(void);
#ifdef __APPLE__
void * rarch_main(void *args);
#else
int rarch_main(int argc, char *argv[]);
#endif
int rarch_main_init_wrap(const struct rarch_main_wrap *args);
int rarch_main_init(int argc, char *argv[]);
bool rarch_main_idle_iterate(void);