summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/romload.cpp
diff options
context:
space:
mode:
author Robbbert <pac0446@bigpond.net.au>2016-02-29 23:27:12 +1100
committer Robbbert <pac0446@bigpond.net.au>2016-02-29 23:27:12 +1100
commita15f3fde77f18f9984216a7ca494f073ad846891 (patch)
treef27d92d8af987d8cad360da6819b41d5020b9e01 /src/emu/romload.cpp
parentd5ce1264a5dca03ded7ce3c8f4542c977625ec20 (diff)
Fix rom load warning messages (nw)
Diffstat (limited to 'src/emu/romload.cpp')
-rw-r--r--src/emu/romload.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/romload.cpp b/src/emu/romload.cpp
index 656bf4bf362..f5f15551ab5 100644
--- a/src/emu/romload.cpp
+++ b/src/emu/romload.cpp
@@ -426,7 +426,7 @@ void rom_load_manager::verify_length_and_hash(const char *name, UINT32 explength
UINT32 actlength = m_file->size();
if (explength != actlength)
{
- m_errorstring.append(string_format(m_errorstring, "%s WRONG LENGTH (expected: %08x found: %08x)\n", name, explength, actlength));
+ m_errorstring.append(string_format("%s WRONG LENGTH (expected: %08x found: %08x)\n", name, explength, actlength));
m_warnings++;
}
@@ -434,21 +434,21 @@ void rom_load_manager::verify_length_and_hash(const char *name, UINT32 explength
hash_collection &acthashes = m_file->hashes(hashes.hash_types().c_str());
if (hashes.flag(hash_collection::FLAG_NO_DUMP))
{
- m_errorstring.append(string_format(m_errorstring, "%s NO GOOD DUMP KNOWN\n", name));
+ m_errorstring.append(string_format("%s NO GOOD DUMP KNOWN\n", name));
m_knownbad++;
}
/* verify checksums */
else if (hashes != acthashes)
{
/* otherwise, it's just bad */
- m_errorstring.append(string_format(m_errorstring, "%s WRONG CHECKSUMS:\n", name));
+ m_errorstring.append(string_format("%s WRONG CHECKSUMS:\n", name));
dump_wrong_and_correct_checksums(hashes, acthashes);
m_warnings++;
}
/* If it matches, but it is actually a bad dump, write it */
else if (hashes.flag(hash_collection::FLAG_BAD_DUMP))
{
- m_errorstring.append(string_format(m_errorstring, "%s ROM NEEDS REDUMP\n", name));
+ m_errorstring.append(string_format("%s ROM NEEDS REDUMP\n", name));
m_knownbad++;
}
}