mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-28 23:55:54 +00:00
Reset optind to 0, not 1.
Seems to cause strange issues ...
This commit is contained in:
parent
9a3875d99a
commit
a92ff2a23a
@ -802,8 +802,11 @@ static void parse_input(int argc, char *argv[])
|
||||
return;
|
||||
}
|
||||
|
||||
for (int i = 0; i < argc; i++)
|
||||
fprintf(stderr, "\targv[%d] = %s\n", i, argv[i]);
|
||||
|
||||
// Make sure we can call parse_input several times ...
|
||||
optind = 1;
|
||||
optind = 0;
|
||||
|
||||
int val = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user