summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2017-08-24 17:58:00 +1000
committer Vas Crabb <vas@vastheman.com>2017-08-24 17:58:00 +1000
commit848dbb9e8b2232ba0ff23a81dd381254a0a3279c (patch)
tree33c6111c99cc66c7ccf62eb518a0800c5e29c1a5
parent30ead798c1608ad9340e8b11dcb47e5660b70c25 (diff)
fix -valid with MSVC (nw)
-rw-r--r--src/emu/validity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/validity.cpp b/src/emu/validity.cpp
index fee199034fc..d2d675526a3 100644
--- a/src/emu/validity.cpp
+++ b/src/emu/validity.cpp
@@ -1964,7 +1964,7 @@ void validity_checker::validate_device_types()
// check for description conflicts
auto const drvdesc(m_descriptions_map.find(dev->name()));
auto const devdesc(device_name_map.emplace(dev->name(), &type));
- if (m_names_map.end() != drvdesc)
+ if (m_descriptions_map.end() != drvdesc)
{
game_driver const &dup(*drvdesc->second);
osd_printf_error("Device %s name '%s' is a duplicate of %s(%s)\n", description.c_str(), dev->name(), core_filename_extract_base(dup.type.source()).c_str(), dup.name);