| Previous | 15994 Revisions | Next |
| r10187 Tuesday 25th January, 2011 at 07:46:48 UTC by Miodrag Milanović |
|---|
| Fix compile of tools |
| [src/mess/tools/messtest] | main.c testmess.c |
| r10186 | r10187 | |
|---|---|---|
| 91 | 91 | begin_time = clock(); |
| 92 | 92 | |
| 93 | 93 | /* parse the commandline */ |
| 94 | if (options_parse_command_line(messtest_options, argc, argv, OPTION_PRIORITY_CMDLINE)) | |
| 94 | if (options_parse_command_line(messtest_options, argc, argv, OPTION_PRIORITY_CMDLINE,TRUE)) | |
| 95 | 95 | { |
| 96 | 96 | fprintf(stderr, "Error while parsing cmdline\n"); |
| 97 | 97 | goto done; |
| r10186 | r10187 | |
|---|---|---|
| 426 | 426 | /* ugh... hideous ugly fake arguments */ |
| 427 | 427 | fake_argv[0] = "MESSTEST"; |
| 428 | 428 | fake_argv[1] = driver->name; |
| 429 | options_parse_command_line(opts, ARRAY_LENGTH(fake_argv), (char **) fake_argv, OPTION_PRIORITY_CMDLINE); | |
| 429 | options_parse_command_line(opts, ARRAY_LENGTH(fake_argv), (char **) fake_argv, OPTION_PRIORITY_CMDLINE,TRUE); | |
| 430 | 430 | |
| 431 | 431 | /* preload any needed images */ |
| 432 | 432 | while(current_command->command_type == MESSTEST_COMMAND_IMAGE_PRELOAD) |
| Previous | 15994 Revisions | Next |