src/mess/devices/cartslot.c
| r6929 | r6930 | |
| 332 | 332 | multicart *mc; |
| 333 | 333 | int i; |
| 334 | 334 | |
| 335 | | if (image_exists(device)) |
| 335 | if (image_software_entry(device) == NULL && image_exists(device)) |
| 336 | 336 | { |
| 337 | 337 | /* try opening this as if it were a multicart */ |
| 338 | 338 | multicart_open_error me = multicart_open(image_filename(device), device->machine->gamedrv->name, MULTICART_FLAGS_DONT_LOAD_RESOURCES, &mc); |
| r6929 | r6930 | |
| 454 | 454 | strcpy(info->s, "bin"); |
| 455 | 455 | } |
| 456 | 456 | break; |
| 457 | case DEVINFO_STR_SOFTWARE_LIST: |
| 458 | if ( device && device->inline_config && get_config(device)->software_list_name ) |
| 459 | { |
| 460 | strcpy(info->s, get_config(device)->software_list_name ); |
| 461 | } |
| 462 | break; |
| 457 | 463 | } |
| 458 | 464 | } |