mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-11 22:13:23 -05:00
chore: neutral report path and plain punctuation
The markdown report wrote to a directory named after the tooling that happened to produce it. It takes --report-dir now, defaulting to reports/, so nothing in the tree names anything but the project. Em-dashes replaced throughout the sources and tests, rephrased rather than swapped for a comma where the dash carried an apposition.
This commit is contained in:
1 parent
d2cc806e76
commit
c313b32347
7 files changed
+20
-15
No files matched your search
+3
-3
@@ -678,15 +678,15 @@ def _find_best_variant(
|
||||
"""Search for a repo file that passes emulator validation.
|
||||
|
||||
Two-pass search:
|
||||
1. Hash lookup — use the emulator's expected hashes (sha1, md5, sha256,
|
||||
1. Hash lookup, using the emulator's expected hashes (sha1, md5, sha256,
|
||||
crc32) to find candidates directly in the DB indexes. This finds
|
||||
variants stored under different filenames (e.g. megacd2_v200_eu.bin
|
||||
for bios_CD_E.bin).
|
||||
2. Name lookup — check all files sharing the same name (aliases,
|
||||
2. Name lookup, checking all files sharing the same name (aliases,
|
||||
.variants/ with name-based suffixes).
|
||||
|
||||
If any candidate on disk passes ``check_file_validation``, the
|
||||
discrepancy is suppressed — the repo has what the emulator needs.
|
||||
discrepancy is suppressed: the repo has what the emulator needs.
|
||||
"""
|
||||
fname = file_entry.get("name", "")
|
||||
if not fname or fname not in validation_index:
|
||||
|
||||
Reference in new issue
Block a user