summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2021-01-01 12:16:05 -0500
committer AJR <ajrhacker@users.noreply.github.com>2021-01-01 12:16:05 -0500
commit21fd9835451a5a7d7655964bfb7adb1ba9b8540f (patch)
tree514f8d654945329127fa93120d277adcafd4c2e9 /src/emu
parentc296bd97293658a42a58c932161679ed51f97e1a (diff)
hash.cpp, hashing.cpp: Change string processing to use std::string_view parameters; add sum16 type
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/softlist_dev.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/softlist_dev.cpp b/src/emu/softlist_dev.cpp
index c6768155f16..56ca2a65d02 100644
--- a/src/emu/softlist_dev.cpp
+++ b/src/emu/softlist_dev.cpp
@@ -559,7 +559,7 @@ void software_list_device::internal_validity_check(validity_checker &valid)
// make sure the hash is valid
util::hash_collection hashes;
- if (!hashes.from_internal_string(romp->hashdata().c_str()))
+ if (!hashes.from_internal_string(romp->hashdata()))
osd_printf_error("%s: %s part %s ROM '%s' has invalid hash string '%s'\n", filename(), shortname, part.name(), romp->name(), romp->hashdata());
}