diff options
| author | 2016-06-29 08:34:30 +0200 | |
|---|---|---|
| committer | 2016-06-29 08:34:30 +0200 | |
| commit | 63f9a01f8c5d43b9cfe68c2d401a84647d19c10e (patch) | |
| tree | a1f1874aa84850bddbebd2b0e0bfc3e1c77ce8c4 /src/emu/hashfile.cpp | |
| parent | 1f6f1bfd6cfb748d9c5e159d6bd014bab8d30944 (diff) | |
Cleanup and version bumpmame0175
Diffstat (limited to 'src/emu/hashfile.cpp')
| -rw-r--r-- | src/emu/hashfile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/hashfile.cpp b/src/emu/hashfile.cpp index 1d3a2b63171..95341347b97 100644 --- a/src/emu/hashfile.cpp +++ b/src/emu/hashfile.cpp @@ -32,7 +32,7 @@ bool read_hash_config(device_image_interface &image, const char *sysname, std::s pugi::xml_document doc; pugi::xml_parse_result res = doc.load_file(file.fullpath()); - if (res) + if (res) { // Do search by CRC32 and SHA1 std::string query = "/hashfile/hash["; @@ -46,7 +46,7 @@ bool read_hash_config(device_image_interface &image, const char *sysname, std::s return true; } - // Try search by CRC32 only + // Try search by CRC32 only query = "/hashfile/hash["; query += "@crc32='" + crc + "']/extrainfo"; tools = doc.select_nodes(query.c_str()); |
