Previous 15994 Revisions Next

r6939 Tuesday 5th January, 2010 at 18:25:26 UTC by Wilbert Pol
Added image_get_software_region_length
[src/mess]image.c image.h

src/mess/image.c
r6938r6939
14691469
14701470
14711471/*-------------------------------------------------
1472    image_get_software_region_length
1473-------------------------------------------------*/
1474
1475UINT32 image_get_software_region_length(const device_config *image, const char *tag)
1476{
1477    char full_tag[256];
1478
1479    sprintf( full_tag, "%s:%s:%s", image->tag, image_software_entry(image)->name, tag );
1480    return memory_region_length( image->machine, full_tag );
1481}
1482
1483
1484/*-------------------------------------------------
14721485    image_is_writable
14731486-------------------------------------------------*/
14741487
src/mess/image.h
r6938r6939
267267
268268
269269UINT8 *image_get_software_region(const device_config *image, const char *tag);
270UINT32 image_get_software_region_length(const device_config *image, const char *tag);
270271const software_entry *image_software_entry(const device_config *image);
271272
272273

Previous 15994 Revisions Next


© 1998-2018 The MESS Team