summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/drivenum.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/drivenum.cpp')
-rw-r--r--src/emu/drivenum.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/drivenum.cpp b/src/emu/drivenum.cpp
index 41439f5dac4..eb2222fa7c5 100644
--- a/src/emu/drivenum.cpp
+++ b/src/emu/drivenum.cpp
@@ -311,7 +311,7 @@ void driver_enumerator::find_approximate_matches(const char *string, std::size_t
if (m_included[index] && !(s_drivers_sorted[index]->flags & MACHINE_NO_STANDALONE))
{
// pick the best match between driver name and description
- int curpenalty = penalty_compare(string, s_drivers_sorted[index]->description);
+ int curpenalty = penalty_compare(string, s_drivers_sorted[index]->type.fullname());
int tmp = penalty_compare(string, s_drivers_sorted[index]->name);
curpenalty = (std::min)(curpenalty, tmp);