diff options
Diffstat (limited to 'src/frontend/mame/media_ident.cpp')
-rw-r--r-- | src/frontend/mame/media_ident.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/mame/media_ident.cpp b/src/frontend/mame/media_ident.cpp index 9aeb8765089..b5ae8ef578a 100644 --- a/src/frontend/mame/media_ident.cpp +++ b/src/frontend/mame/media_ident.cpp @@ -47,7 +47,7 @@ void media_identifier::file_info::match( m_matches.emplace_back( util::string_format("%s:%s", list, software.shortname()), std::string(software.longname()), - ROM_GETNAME(&rom), + std::string(rom.name()), hashes.flag(util::hash_collection::FLAG_BAD_DUMP), false); } @@ -366,7 +366,7 @@ void media_identifier::match_hashes(std::vector<file_info> &info) { for (rom_entry const *rom = rom_first_file(region); rom; rom = rom_next_file(rom)) { - util::hash_collection romhashes(ROM_GETHASHDATA(rom)); + util::hash_collection romhashes(rom->hashdata()); if (!romhashes.flag(util::hash_collection::FLAG_NO_DUMP)) { for (file_info &file : info) |