fix commandline parsing problem in last argument when no rom is provided. i THINK its safe...
This commit is contained in:
parent
e717a16398
commit
548312eddd
|
@ -72,7 +72,7 @@ char *ParseArgies(int argc, char *argv[])
|
||||||
return(0);
|
return(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
ParseArguments(argc-2, &argv[1], FCEUArgs);
|
ParseArguments(argc-1, &argv[1], FCEUArgs);
|
||||||
|
|
||||||
return(argv[argc-1]);
|
return(argv[argc-1]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue