mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-26 21:36:26 +00:00
(OSX) Prevent crash with previous hack
This commit is contained in:
parent
55105303ac
commit
7f505afda7
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user