diff options
author | Vas Crabb <vas@vastheman.com> | 2018-03-26 20:22:52 +1100 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2018-03-26 20:22:52 +1100 |
commit | fdf806a5acd10befaeb8689d4b0c857b182daaa3 (patch) | |
tree | dccfb2b5c42a19d5d930c29a29e614eb5c9f2b31 | |
parent | 503be5cbdb4e06f03f052342f4f40d4898e5938e (diff) |
check for error before reporting it (nw)
-rw-r--r-- | src/emu/romload.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/romload.cpp b/src/emu/romload.cpp index 31069c68423..2812a39db9e 100644 --- a/src/emu/romload.cpp +++ b/src/emu/romload.cpp @@ -289,7 +289,8 @@ void rom_load_manager::determine_bios_rom(device_t &device, const char *specbios } // if we got neither an empty string nor 'default' then warn the user - m_errorstring.append(util::string_format("%s: invalid BIOS \"%s\", reverting to default\n", device.tag(), specbios)); + if (!found) + m_errorstring.append(util::string_format("%s: invalid BIOS \"%s\", reverting to default\n", device.tag(), specbios)); } // log final result |