fix commandline parsing problem in last argument when no rom is provided. i THINK its safe...

This commit is contained in:
zeromus 2010-08-15 01:19:26 +00:00
parent e717a16398
commit 548312eddd
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ char *ParseArgies(int argc, char *argv[])
return(0);
}
ParseArguments(argc-2, &argv[1], FCEUArgs);
ParseArguments(argc-1, &argv[1], FCEUArgs);
return(argv[argc-1]);
}