Merge pull request #1200 from npwoods/fix_listxml

Fixes a copy-and-paste error that broke -listxml
This commit is contained in:
Miodrag Milanović 2016-08-07 13:28:07 +02:00 committed by GitHub
commit 38f86f2c05

View File

@ -580,7 +580,7 @@ void info_xml_creator::output_rom(device_t &device)
{ {
// scan backwards through the ROM entries // scan backwards through the ROM entries
auto entries = rom_build_entries(m_drivlist.driver().rom); auto entries = rom_build_entries(m_drivlist.driver().rom);
for (const rom_entry *brom = entries.data(); !ROMENTRY_ISEND(rom); rom++) for (const rom_entry *brom = entries.data(); !ROMENTRY_ISEND(brom); brom++)
if (ROMENTRY_ISSYSTEM_BIOS(brom)) if (ROMENTRY_ISSYSTEM_BIOS(brom))
{ {
strcpy(bios_name, ROM_GETNAME(brom)); strcpy(bios_name, ROM_GETNAME(brom));