summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/info.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-02-23 15:36:18 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-02-23 15:36:18 +0000
commit8e20ddb18464d88912181c9e372470a054ac27d0 (patch)
tree80834ed1fa20776691aaf1cbc39597a2344847e2 /src/emu/info.c
parent266db132ccb3098d74e6313ea278ec962948abe8 (diff)
Fixed debug asserts (no whatsnew)
Diffstat (limited to 'src/emu/info.c')
-rw-r--r--src/emu/info.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/emu/info.c b/src/emu/info.c
index 13884e32dae..47ca17f67e8 100644
--- a/src/emu/info.c
+++ b/src/emu/info.c
@@ -404,13 +404,12 @@ void info_xml_creator::output_one_device(device_t &device, const char *innertag,
// in slots
//-------------------------------------------------
-typedef tagmap_t<const game_driver *> slot_map;
+typedef tagmap_t<FPTR> slot_map;
void info_xml_creator::output_devices()
{
m_drivlist.reset();
slot_map desc;
- const game_driver &driver = m_drivlist.driver();
// first, run through slot devices
while (m_drivlist.next())
@@ -420,7 +419,7 @@ void info_xml_creator::output_devices()
for (device_t *device = deviter.next(); device != NULL; device = deviter.next()) {
if (device->rom_region() != NULL && device->shortname()!= NULL)
{
- if (desc.add(device->name(), &driver, FALSE) != TMERR_DUPLICATE)
+ if (desc.add(device->name(), 0, FALSE) != TMERR_DUPLICATE)
output_one_device(*device, device->tag(), emulator_info::get_xml_top());
}
}
@@ -440,7 +439,7 @@ void info_xml_creator::output_devices()
if (!device->configured())
device->config_complete();
- if (desc.add(dev->name(), &driver, FALSE) != TMERR_DUPLICATE)
+ if (desc.add(dev->name(), 0, FALSE) != TMERR_DUPLICATE)
output_one_device(*dev, temptag.cstr(), emulator_info::get_xml_top());
const_cast<machine_config &>(m_drivlist.config()).device_remove(&m_drivlist.config().root_device(), temptag.cstr());