mirror of
https://github.com/libretro/RetroArch
synced 2025-04-02 07:20:34 +00:00
(Apple) Just call rarch_main instead of apple_rarch_load_content
This commit is contained in:
parent
5303e1f094
commit
c38d0a86d0
@ -163,7 +163,7 @@ static char** waiting_argv;
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (waiting_argc)
|
if (waiting_argc)
|
||||||
apple_rarch_load_content(&waiting_argc, waiting_argv);
|
rarch_main(waiting_argc, waiting_argv);
|
||||||
else if (!_wantReload)
|
else if (!_wantReload)
|
||||||
apple_run_core(nil, 0);
|
apple_run_core(nil, 0);
|
||||||
else
|
else
|
||||||
|
@ -28,6 +28,5 @@ enum basic_event_t {
|
|||||||
extern void apple_event_basic_command(enum basic_event_t action);
|
extern void apple_event_basic_command(enum basic_event_t action);
|
||||||
|
|
||||||
extern void apple_refresh_config(void);
|
extern void apple_refresh_config(void);
|
||||||
extern int apple_rarch_load_content(int *argc, char* argv[]);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -54,7 +54,7 @@ void apple_run_core(NSString* core, const char* file)
|
|||||||
argc = (file && core) ? 6 : 4;
|
argc = (file && core) ? 6 : 4;
|
||||||
argv = (char**)((file && core) ? argv_game : argv_menu);
|
argv = (char**)((file && core) ? argv_game : argv_menu);
|
||||||
|
|
||||||
if (apple_rarch_load_content(&argc, argv))
|
if (rarch_main(argc, argv))
|
||||||
{
|
{
|
||||||
char basedir[256];
|
char basedir[256];
|
||||||
fill_pathname_basedir(basedir, file ? file : "", sizeof(basedir));
|
fill_pathname_basedir(basedir, file ? file : "", sizeof(basedir));
|
||||||
|
@ -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)
|
static int frontend_apple_get_rating(void)
|
||||||
{
|
{
|
||||||
/* TODO/FIXME - look at unique identifier per device and
|
/* TODO/FIXME - look at unique identifier per device and
|
||||||
|
Loading…
x
Reference in New Issue
Block a user