diff options
| author | 2008-12-04 09:58:01 +0000 | |
|---|---|---|
| committer | 2008-12-04 09:58:01 +0000 | |
| commit | 2bce10291f559e550fbc53b5e02e159442995ccd (patch) | |
| tree | ba135fa239b69b1e8dcb5fb30e4ebde8a9407f3c | |
| parent | 022d56f46103a1752038f7c25512f894f99131e9 (diff) | |
02680: carnevil: -verifyrom fails to consider if a CHD is a BAD_DUMP
| -rw-r--r-- | src/emu/audit.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/emu/audit.c b/src/emu/audit.c index 21d21e72885..3a0aad0bbf3 100644 --- a/src/emu/audit.c +++ b/src/emu/audit.c @@ -501,12 +501,16 @@ static int audit_one_disk(core_options *options, const rom_entry *rom, const gam /* found but needs a dump */ if (hash_data_has_info(record->exphash, HASH_INFO_NO_DUMP)) - set_status(record, AUDIT_STATUS_GOOD, SUBSTATUS_GOOD_NEEDS_REDUMP); + set_status(record, AUDIT_STATUS_GOOD, SUBSTATUS_FOUND_NODUMP); /* incorrect hash */ else if (!hash_data_is_equal(record->exphash, record->hash, 0)) set_status(record, AUDIT_STATUS_FOUND_INVALID, SUBSTATUS_FOUND_BAD_CHECKSUM); + /* correct hash but needs a redump */ + else if (hash_data_has_info(record->exphash, HASH_INFO_BAD_DUMP)) + set_status(record, AUDIT_STATUS_GOOD, SUBSTATUS_GOOD_NEEDS_REDUMP); + /* just plain good */ else set_status(record, AUDIT_STATUS_GOOD, SUBSTATUS_GOOD); |
