mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
(Android) Refactor argc/argv passed to rarch_main
This commit is contained in:
parent
43860e384a
commit
92dee9b3aa
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user