summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2016-12-24 12:38:07 -0500
committer GitHub <noreply@github.com>2016-12-24 12:38:07 -0500
commit91fa2237980ed1863b70615247811383070df871 (patch)
tree7e33542f80daa8b57e8d28993d41807e211a7c23
parent5aae452f2c9fe62c85cc666237a838bba0975789 (diff)
parent79c5a049549d7f38ebc3726de10e7ee6674138d3 (diff)
Merge pull request #1871 from ajrhacker/device_rom_ident
Fix for -romident misattributing device ROMs to alphabetically first …
-rw-r--r--src/frontend/mame/media_ident.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/frontend/mame/media_ident.cpp b/src/frontend/mame/media_ident.cpp
index 1360a88c66c..3c1fdf19c47 100644
--- a/src/frontend/mame/media_ident.cpp
+++ b/src/frontend/mame/media_ident.cpp
@@ -235,7 +235,9 @@ int media_identifier::find_by_hash(const util::hash_collection &hashes, int leng
// output information about the match
if (found)
osd_printf_info(" ");
- osd_printf_info("= %s%-20s %-10s %s\n", baddump ? "(BAD) " : "", ROM_GETNAME(rom), m_drivlist.driver().name, m_drivlist.driver().description);
+ osd_printf_info("= %s%-20s %-10s %s%s\n", baddump ? "(BAD) " : "",
+ ROM_GETNAME(rom), device.shortname(), device.name(),
+ device.owner() != nullptr ? " (device)" : "");
found++;
}
}