mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
Merge pull request #1208 from npwoods/fix_bios_rom_walk
This should fix a regression incurred from the rom_entry changes identified by MASH
This commit is contained in:
commit
2bac1002b3
@ -579,8 +579,7 @@ void info_xml_creator::output_rom(device_t &device)
|
||||
if (!is_disk && is_bios)
|
||||
{
|
||||
// scan backwards through the ROM entries
|
||||
auto entries = rom_build_entries(m_drivlist.driver().rom);
|
||||
for (const rom_entry *brom = entries.data(); !ROMENTRY_ISEND(brom); brom++)
|
||||
for (const rom_entry *brom = rom - 1; brom != device.rom_region(); brom--)
|
||||
if (ROMENTRY_ISSYSTEM_BIOS(brom))
|
||||
{
|
||||
strcpy(bios_name, ROM_GETNAME(brom));
|
||||
|
Loading…
Reference in New Issue
Block a user