(Apple) Just call rarch_main instead of apple_rarch_load_content

This commit is contained in:
Twinaphex 2014-07-21 07:45:05 +02:00
parent 5303e1f094
commit c38d0a86d0
4 changed files with 2 additions and 10 deletions

View File

@ -163,7 +163,7 @@ static char** waiting_argv;
}
if (waiting_argc)
apple_rarch_load_content(&waiting_argc, waiting_argv);
rarch_main(waiting_argc, waiting_argv);
else if (!_wantReload)
apple_run_core(nil, 0);
else

View File

@ -28,6 +28,5 @@ enum basic_event_t {
extern void apple_event_basic_command(enum basic_event_t action);
extern void apple_refresh_config(void);
extern int apple_rarch_load_content(int *argc, char* argv[]);
#endif

View File

@ -54,7 +54,7 @@ void apple_run_core(NSString* core, const char* file)
argc = (file && core) ? 6 : 4;
argv = (char**)((file && core) ? argv_game : argv_menu);
if (apple_rarch_load_content(&argc, argv))
if (rarch_main(argc, argv))
{
char basedir[256];
fill_pathname_basedir(basedir, file ? file : "", sizeof(basedir));

View File

@ -82,13 +82,6 @@ void apple_event_basic_command(enum basic_event_t action)
}
}
int apple_rarch_load_content(int *argc, char* argv[])
{
rarch_main(*argc, argv);
return 0;
}
static int frontend_apple_get_rating(void)
{
/* TODO/FIXME - look at unique identifier per device and