Fixed offset of frameskip command-line option

This commit is contained in:
pagefault
2001-08-19 20:04:00 +00:00
parent 52d664d286
commit 72137742a7
3 changed files with 3 additions and 1 deletions

View File

@@ -190,8 +190,8 @@ int main (int argc, char *argv[]) {
case 'f': {
// if (!hasroom) return 4;
frameskip = my_atoi(optarg);
if (frameskip > 9) return 10;
frameskip++;
p++;
break;
}