Skip to content

Commit

Permalink
stub: fix argv0 len calculus
Browse files Browse the repository at this point in the history
  • Loading branch information
stsp committed Jul 28, 2024
1 parent 59c1262 commit 94ec158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/djdev64/stub/stub.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ int djstub_main(int argc, char *argv[], char *envp[], unsigned psp_sel,
}
if (i) {
i += strlen(argv[0]) + 1;
i += 2;
i += 3;
}
stub_debug("env size %i\n", i);
stubinfo.env_size = i;
Expand Down

0 comments on commit 94ec158

Please sign in to comment.