summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2012-02-22 21:35:30 +0000
committer smf- <smf-@users.noreply.github.com>2012-02-22 21:35:30 +0000
commit6cac5ee3aba91b49c4af5b58fefa3f416cbee878 (patch)
treec807c51e28aa004aed3756a86f5afdfff802ee44
parent849d9e9684419d768d29991124b25712eaac8188 (diff)
verifyroms looks in parent sets again. The bug caused clone sets to be listed as bad when you didn't have them as it thought every rom was shared with the parent.
-rw-r--r--src/emu/audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/audit.c b/src/emu/audit.c
index 676e5e0f487..141f60b291f 100644
--- a/src/emu/audit.c
+++ b/src/emu/audit.c
@@ -516,7 +516,7 @@ device_t *media_auditor::find_shared_device(device_t &device, const hash_collect
// iterate up the parent chain
for (int drvindex = m_enumerator.find(m_enumerator.driver().parent); drvindex != -1; drvindex = m_enumerator.find(m_enumerator.driver(drvindex).parent))
{
- device_iterator deviter(m_enumerator.config().root_device());
+ device_iterator deviter(m_enumerator.config(drvindex).root_device());
for (device_t *scandevice = deviter.first(); scandevice != NULL; scandevice = deviter.next())
for (const rom_entry *region = rom_first_region(*scandevice); region; region = rom_next_region(region))
for (const rom_entry *rom = rom_first_file(region); rom; rom = rom_next_file(rom))