summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/info.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-06-24 07:36:50 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-06-24 07:36:50 +0200
commitd1583b9850d9fb45470648a515eb734e05fd926f (patch)
tree33a4d9934bd2ff6c41526abe0ba06c1d1ea73eb6 /src/emu/info.c
parent03a5bfa56fa4af400f6b9fb07a5e1333aa8fa52f (diff)
Cleanups and version bumpmame0163
Diffstat (limited to 'src/emu/info.c')
-rw-r--r--src/emu/info.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/emu/info.c b/src/emu/info.c
index adb0f3468d4..d87cc529bb0 100644
--- a/src/emu/info.c
+++ b/src/emu/info.c
@@ -421,16 +421,16 @@ void info_xml_creator::output_devices()
if (shortnames.add(dev->shortname(), 0, FALSE) != TMERR_DUPLICATE)
output_one_device(*dev, temptag.c_str());
- // also, check for subdevices with ROMs (a few devices are missed otherwise, e.g. MPU401)
- device_iterator deviter2(*dev);
- for (device_t *device = deviter2.first(); device != NULL; device = deviter2.next())
- {
- if (device->owner() == dev && device->shortname()!= NULL && strlen(device->shortname())!=0)
- {
- if (shortnames.add(device->shortname(), 0, FALSE) != TMERR_DUPLICATE)
- output_one_device(*device, device->tag());
- }
- }
+ // also, check for subdevices with ROMs (a few devices are missed otherwise, e.g. MPU401)
+ device_iterator deviter2(*dev);
+ for (device_t *device = deviter2.first(); device != NULL; device = deviter2.next())
+ {
+ if (device->owner() == dev && device->shortname()!= NULL && strlen(device->shortname())!=0)
+ {
+ if (shortnames.add(device->shortname(), 0, FALSE) != TMERR_DUPLICATE)
+ output_one_device(*device, device->tag());
+ }
+ }
const_cast<machine_config &>(m_drivlist.config()).device_remove(&m_drivlist.config().root_device(), temptag.c_str());
}