| Previous | 15994 Revisions | Next |
| r7833 Friday 16th April, 2010 at 14:33:46 UTC by Firewave |
|---|
| Replaced some unnecessary strlen() calls |
| [src/mess/devices] | messram.c |
| [src/mess/tools/dat2html] | dat2html.c |
| [src/mess/tools/imgtool] | imgtool.c |
| r7832 | r7833 | |
|---|---|---|
| 180 | 180 | mame_printf_error("%s: '%s' cannot recognize the RAM option %s\n", driver->source_file, driver->name, ramsize_string); |
| 181 | 181 | error = TRUE; |
| 182 | 182 | } |
| 183 | if (gamename_option!=NULL && | |
| 183 | if (gamename_option != NULL && * | |
| 184 | 184 | { |
| 185 | 185 | /* compare command line option to default value */ |
| 186 | 186 | if (messram_parse_string(config->default_size) == specified_ram) |
| r7832 | r7833 | |
|---|---|---|
| 199 | 199 | { |
| 200 | 200 | if( html_system ) |
| 201 | 201 | { |
| 202 | if ( | |
| 202 | if ( * | |
| 203 | 203 | { |
| 204 | 204 | if ( emptycount++ > 1 ) |
| 205 | 205 | fprintf(html_system, "<br>\n"); |
| r7832 | r7833 | |
|---|---|---|
| 2536 | 2536 | else |
| 2537 | 2537 | { |
| 2538 | 2538 | /* append a path */ |
| 2539 | if (( | |
| 2539 | if ((* | |
| 2540 | 2540 | snprintf(buffer, buffer_len, "%s%c%s", path1, path_separator, path2); |
| 2541 | 2541 | else |
| 2542 | 2542 | snprintf(buffer, buffer_len, "%s%s", path1, path2); |
| Previous | 15994 Revisions | Next |