mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-18 09:23:26 -05:00
fix: accept RomM files on size and any hash
RomM's verify_file_hashes compares the size, then md5, sha1 or crc. We compared md5 alone, so a fixture entry with one mistyped hash was left out of the pack RomM would accept it from. The rule is declared in romm.yml and read by verify, the builder and the manifest.
This commit is contained in:
1 parent
731faee6e1
commit
ae3dc63bc3
10 files changed
+182
-20
No files matched your search
@@ -221,6 +221,8 @@ class Scraper(BaseScraper):
|
||||
"base_destination": "bios",
|
||||
"hash_type": "sha1",
|
||||
"verification_mode": "md5",
|
||||
# Firmware.verify_file_hashes: size, then md5, sha1 or crc.
|
||||
"hash_rule": "size_and_any_hash",
|
||||
"systems": systems,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user