mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-18 09:23:26 -05:00
fix: check size and adler32 on data directory hits
A data directory copy found by name was returned without the size and Adler-32 checks the name steps over bios/ apply. The verdict now runs both, for the cache walk, the foreign-tree fallback and release assets.
This commit is contained in:
1 parent
5a3d9bdc9d
commit
425a0de0e5
3 files changed
+44
-1
No files matched your search
@@ -74,6 +74,7 @@ def _verified_asset(
|
||||
crc_candidates=set(declared["crc32"]),
|
||||
zipped_file=file_entry.get("zipped_file"),
|
||||
declared_size=file_entry.get("size"),
|
||||
file_entry=file_entry,
|
||||
)
|
||||
if verdict != "hash_mismatch":
|
||||
return cached
|
||||
|
||||
Reference in new issue
Block a user