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

src/mess/devices/cartslot.c
r4010r4011
226226      case DEVINFO_STR_FAMILY:               strcpy(info->s, "Cartslot"); break;
227227      case DEVINFO_STR_SOURCE_FILE:            strcpy(info->s, __FILE__); break;
228228      case DEVINFO_STR_IMAGE_FILE_EXTENSIONS:
229         if ( device && device->inline_config )
229         if ( device && device->inline_config && get_config(device)->extensions )
230230         {
231231            strcpy(info->s, get_config(device)->extensions);
232232         }
233         else
234         {
235            strcpy(info->s, "bin");
236         }
233237         break;
234238   }
235239}

Previous 15994 Revisions Next


© 1998-2018 The MESS Team