src/emu/info.c
| r14565 | r14566 | |
| 391 | 391 | void info_xml_creator::output_device_roms() |
| 392 | 392 | { |
| 393 | 393 | device_iterator deviter(m_drivlist.config().root_device()); |
| 394 | | for (device_t *device = deviter.first(); device != NULL; device = deviter.next()) |
| 395 | | if (device->owner() != NULL) |
| 394 | deviter.first(); |
| 395 | for (device_t *device = deviter.next(); device != NULL; device = deviter.next()) |
| 396 | if (device->rom_region() != NULL && device->shortname()!=NULL) |
| 396 | 397 | { |
| 397 | 398 | fprintf(m_output, "\t\t<device_ref name=\"%s\"/>\n", xml_normalize_string(device->shortname())); |
| 398 | 399 | for (int devnum = 0; devnum < m_device_count; devnum++) |