romident: format fix [O. Galibert]

This commit is contained in:
Olivier Galibert 2011-08-07 15:01:10 +00:00
parent a04b807693
commit 2a8660b482

View File

@ -1560,7 +1560,7 @@ int media_identifier::find_by_hash(const hash_collection &hashes, int length)
bool baddump = romhashes.flag(hash_collection::FLAG_BAD_DUMP);
// output information about the match
if (!found)
if (found)
mame_printf_info(" ");
mame_printf_info("= %s%-20s %-10s %s\n", baddump ? "(BAD) " : "", ROM_GETNAME(rom), m_drivlist.driver().name, m_drivlist.driver().description);
found++;
@ -1588,7 +1588,7 @@ int media_identifier::find_by_hash(const hash_collection &hashes, int length)
bool baddump = romhashes.flag(hash_collection::FLAG_BAD_DUMP);
// output information about the match
if (!found)
if (found)
mame_printf_info(" ");
mame_printf_info("= %s%-20s %s:%s %s\n", baddump ? "(BAD) " : "", ROM_GETNAME(rom), swlist->list_name[listnum], swinfo->shortname, swinfo->longname);
found++;