Fixed merge name for devices in xml output (no whatsnew)

This commit is contained in:
Miodrag Milanovic 2012-03-30 10:32:54 +00:00
parent 5380f33c79
commit 552a2a561d

View File

@ -537,7 +537,8 @@ void info_xml_creator::output_rom(device_t &device)
hash_collection hashes(ROM_GETHASHDATA(rom));
if (!hashes.flag(hash_collection::FLAG_NO_DUMP))
merge_name = get_merge_name(hashes);
if (&device != &m_drivlist.config().root_device())
merge_name = NULL;
// scan for a BIOS name
bios_name[0] = 0;
if (!is_disk && is_bios)