mirror of
https://github.com/holub/mame
synced 2025-06-17 17:59:05 +03:00
when looking into merge sets look just root device (nw)
This commit is contained in:
parent
1f7efc7e9d
commit
0c91ef7ada
@ -1366,8 +1366,7 @@ const char *info_xml_creator::get_merge_name(const hash_collection &romhashes)
|
||||
for (int clone_of = m_drivlist.find(m_drivlist.driver().parent); clone_of != -1; clone_of = m_drivlist.find(m_drivlist.driver(clone_of).parent))
|
||||
{
|
||||
// look in the parent's ROMs
|
||||
device_iterator deviter(m_drivlist.config(clone_of, m_lookup_options).root_device());
|
||||
for (device_t *device = deviter.first(); device != NULL; device = deviter.next())
|
||||
device_t *device = &m_drivlist.config(clone_of, m_lookup_options).root_device();
|
||||
for (const rom_entry *pregion = rom_first_region(*device); pregion != NULL; pregion = rom_next_region(pregion))
|
||||
for (const rom_entry *prom = rom_first_file(pregion); prom != NULL; prom = rom_next_file(prom))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user