diff options
| author | 2018-03-26 19:53:18 +1100 | |
|---|---|---|
| committer | 2018-03-26 19:53:18 +1100 | |
| commit | 503be5cbdb4e06f03f052342f4f40d4898e5938e (patch) | |
| tree | 6032d1bd7383bb38013c24fa4e6ef9c76c1a1254 /src/emu/validity.cpp | |
| parent | 44a1d8ba1408dd93e0ddb933b9cc95e224e5d68b (diff) | |
Allow machine configuration to specify BIOS easily, move default BIOS selection into device configuration complete
Diffstat (limited to 'src/emu/validity.cpp')
| -rw-r--r-- | src/emu/validity.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/validity.cpp b/src/emu/validity.cpp index 5a74a100147..c47604448bf 100644 --- a/src/emu/validity.cpp +++ b/src/emu/validity.cpp @@ -1620,6 +1620,8 @@ void validity_checker::validate_roms(device_t &root) // check that default BIOS exists if (defbios && (bios_names.find(defbios) == bios_names.end())) osd_printf_error("Default BIOS '%s' not found\n", defbios); + if (!device.get_default_bios_tag().empty() && (bios_names.find(device.get_default_bios_tag()) == bios_names.end())) + osd_printf_error("Configured BIOS '%s' not found\n", device.get_default_bios_tag().c_str()); // final check for empty regions if (items_since_region == 0) |
