fix: resolve_file skips MD5 lookup for zipped_file entries

Same guard as verify.py: when zipped_file is set, the md5 is for the
inner ROM, not the container ZIP. Direct MD5 lookup resolved to the
standalone ROM file instead of the ZIP parent.

Fixes: ep64.zip/ep128.zip (Enterprise) written as raw ROM data instead
of ZIP archives in Batocera pack. Also fixes any other zipped_file entry
where the inner ROM MD5 matched a standalone file in the database.

Also: update Dinothawr.zip SHA1 in retroarch.yml to match actual file.
This commit is contained in:
Abdessamad Derraz
2026-03-18 06:13:22 +01:00
parent 84ab0ea6d3
commit 040ea9f217
2 changed files with 5 additions and 4 deletions

View File

@@ -458,9 +458,8 @@ systems:
- name: Dinothawr.zip
destination: Dinothawr.zip
required: true
sha1: 693d8bb4d992c645e6413a57195acf4eca2f5a2e
md5: a2e891e330d146c4046c2b622fc31462
crc32: 683ed4ad
sha1: eadb966430454b40a17387acc7302ff1683cc9f2
md5: b8e3f8e88dc8164f8b4b60aa2add9107
size: 5763199
dos:
files: