mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
(nw) allow BIOS declaration before first ROM region
This commit is contained in:
parent
ea579a59a8
commit
fd41b35c2a
@ -68,7 +68,7 @@ std::unique_ptr<emu_file> common_process_file(emu_options &options, const char *
|
|||||||
const rom_entry *rom_first_region(const device_t &device)
|
const rom_entry *rom_first_region(const device_t &device)
|
||||||
{
|
{
|
||||||
const rom_entry *romp = &device.rom_region_vector().front();
|
const rom_entry *romp = &device.rom_region_vector().front();
|
||||||
while (ROMENTRY_ISPARAMETER(romp))
|
while (ROMENTRY_ISPARAMETER(romp) || ROMENTRY_ISSYSTEM_BIOS(romp) || ROMENTRY_ISDEFAULT_BIOS(romp))
|
||||||
romp++;
|
romp++;
|
||||||
return !ROMENTRY_ISEND(romp) ? romp : nullptr;
|
return !ROMENTRY_ISEND(romp) ? romp : nullptr;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user