| Previous | 15994 Revisions | Next |
| r4011 Monday 29th December, 2008 at 14:32:32 UTC by Dirk Best |
|---|
| Added ".bin" as default extension for the cartslot device |
| [src/mess/devices] | cartslot.c |
| r4010 | r4011 | |
|---|---|---|
| 226 | 226 | case DEVINFO_STR_FAMILY: strcpy(info->s, "Cartslot"); break; |
| 227 | 227 | case DEVINFO_STR_SOURCE_FILE: strcpy(info->s, __FILE__); break; |
| 228 | 228 | case DEVINFO_STR_IMAGE_FILE_EXTENSIONS: |
| 229 | if ( device && device->inline_config ) | |
| 229 | if ( device && device->inline_config && get_config(device)->extensions ) | |
| 230 | 230 | { |
| 231 | 231 | strcpy(info->s, get_config(device)->extensions); |
| 232 | 232 | } |
| 233 | else | |
| 234 | { | |
| 235 | strcpy(info->s, "bin"); | |
| 236 | } | |
| 233 | 237 | break; |
| 234 | 238 | } |
| 235 | 239 | } |
| Previous | 15994 Revisions | Next |