mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-22 02:44:38 +00:00
(OSX) Attempt to fix argument passing
This commit is contained in:
parent
b9569296d5
commit
8d6d9b96ba
@ -410,17 +410,8 @@ static void poll_iteration(void)
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
int i;
|
||||
for (i = 0; i < argc; i ++)
|
||||
{
|
||||
if (!strcmp(argv[i], "--"))
|
||||
{
|
||||
waiting_argc = argc - i;
|
||||
waiting_argv = argv + i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
waiting_argc = argc;
|
||||
waiting_argv = argv;
|
||||
return NSApplicationMain(argc, (const char **) argv);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user