mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
Fixes a regression in the bios menu that caused all devices to be displayed
This commit is contained in:
parent
74fc59935f
commit
f18f094fdc
@ -78,7 +78,7 @@ void menu_bios_selection::populate()
|
||||
/* cycle through all devices for this system */
|
||||
for (device_t &device : device_iterator(machine().root_device()))
|
||||
{
|
||||
if (device.rom_region())
|
||||
if (device.rom_region() != nullptr && !ROMENTRY_ISEND(device.rom_region()))
|
||||
{
|
||||
const char *val = "default";
|
||||
for (const rom_entry *rom = device.rom_region(); !ROMENTRY_ISEND(rom); rom++)
|
||||
|
Loading…
Reference in New Issue
Block a user