Make icebram deterministic

This commit is contained in:
whitequark 2020-06-23 07:42:15 +00:00 committed by GitHub
parent cd2610e0fa
commit 2679c91b8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ void help(const char *cmd)
printf(" use the same file as <from_hexfile> later.\n");
printf("\n");
printf(" -s <seed>\n");
printf(" seed random generator with fixed value.\n");
printf(" seed random generator with the given value.\n");
printf("\n");
printf(" -v\n");
printf(" verbose output\n");
@ -131,7 +131,7 @@ int main(int argc, char **argv)
bool verbose = false;
bool generate = false;
bool seed = false;
uint32_t seed_nr = getpid();
uint32_t seed_nr = 0;
int opt;
while ((opt = getopt(argc, argv, "vgs:")) != -1)