mirror of
https://github.com/libretro/RetroArch
synced 2025-02-04 03:40:03 +00:00
(frontend) make macro for main entry point function
This commit is contained in:
parent
9e2e135d19
commit
e8555bc1ab
@ -125,10 +125,12 @@ void rarch_get_environment_console(void)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(IOS) || defined(OSX) || defined(HAVE_BB10)
|
#if defined(IOS) || defined(OSX) || defined(HAVE_BB10)
|
||||||
int rarch_main(int argc, char *argv[])
|
#define main_entry rarch_main
|
||||||
#else
|
#else
|
||||||
int main(int argc, char *argv[])
|
#define main_entry main
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
int main_entry(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
void* args = NULL;
|
void* args = NULL;
|
||||||
frontend_ctx = (frontend_ctx_driver_t*)frontend_ctx_init_first();
|
frontend_ctx = (frontend_ctx_driver_t*)frontend_ctx_init_first();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user