(Android) Refactor argc/argv passed to rarch_main

This commit is contained in:
twinaphex 2016-04-05 23:45:31 +02:00
parent 43860e384a
commit 92dee9b3aa

View File

@ -724,9 +724,10 @@ static void jni_thread_destruct(void *value)
static void android_app_entry(void *data)
{
char *argv[1];
int argc = 0;
int ret = 0;
char arguments[] = "retroarch";
char *argv[] = {arguments, NULL};
int ret = 0;
int argc = 1;
if (rarch_main(argc, argv, data) != 0)
goto end;