mirror of
https://github.com/holub/mame
synced 2025-06-02 02:49:44 +03:00
Fix for device_ref tag in listxml (no whatsnew)
This commit is contained in:
parent
bb0f3da064
commit
7f9a1e5e97
@ -391,8 +391,9 @@ void info_xml_creator::output_one()
|
||||
void info_xml_creator::output_device_roms()
|
||||
{
|
||||
device_iterator deviter(m_drivlist.config().root_device());
|
||||
for (device_t *device = deviter.first(); device != NULL; device = deviter.next())
|
||||
if (device->owner() != NULL)
|
||||
deviter.first();
|
||||
for (device_t *device = deviter.next(); device != NULL; device = deviter.next())
|
||||
if (device->rom_region() != NULL && device->shortname()!=NULL)
|
||||
{
|
||||
fprintf(m_output, "\t\t<device_ref name=\"%s\"/>\n", xml_normalize_string(device->shortname()));
|
||||
for (int devnum = 0; devnum < m_device_count; devnum++)
|
||||
|
Loading…
Reference in New Issue
Block a user