Previous 15994 Revisions Next

r8117 Friday 21st May, 2010 at 06:39:53 UTC by Fabio Priuli
Added function to retrieve the "feature" attribute from an image loaded through softlist
[src/mess]image.c image.h

src/mess/image.c
r8116r8117
14691469
14701470
14711471/*-------------------------------------------------
1472 image_get_feature
1473 -------------------------------------------------*/
1474
1475const char *image_get_feature(running_device *image)
1476{
1477   image_slot_data *slot = find_image_slot(image);
1478   
1479   return slot->software_part_ptr->feature;
1480}
1481
1482
1483/*-------------------------------------------------
14721484    image_is_writable
14731485-------------------------------------------------*/
14741486
src/mess/image.h
r8116r8117
264264
265265UINT8 *image_get_software_region(running_device *image, const char *tag);
266266UINT32 image_get_software_region_length(running_device *image, const char *tag);
267const char *image_get_feature(running_device *image);
267268const software_info *image_software_entry(running_device *image);
268269
269270

Previous 15994 Revisions Next


© 1998-2018 The MESS Team