(OSX) Prevent crash with previous hack

This commit is contained in:
Twinaphex 2016-01-17 16:26:04 +01:00
parent 55105303ac
commit 7f505afda7

View File

@ -448,8 +448,12 @@ extern void action_ok_push_quick_menu(void);
int main(int argc, char *argv[])
{
if (!strncmp(argv[1], "-psn", 4) && (argc==2))
argc = 1;
if (argc == 2)
{
if (argv[1] != '\0')
if (!strncmp(argv[1], "-psn", 4))
argc = 1;
}
waiting_argc = argc;
waiting_argv = argv;