fix: keep fbneo per-rom refs and archive names

This commit is contained in:
Abdessamad Derraz committed 2026-08-10 16:47:20 +02:00
1 parent 47182f4cb1
commit 77dff6377e
4 files changed
+30 -4

No files matched your search

+5
View File
@@ -266,6 +266,11 @@ def _diff_fbneo(
continue
old = existing_by_key[key]
# source_ref is deliberately not compared here. The scraper knows
# one line per driver, the struct, while a curated entry cites the
# RomDesc line of its own ROM. Treating the difference as drift
# would replace per-ROM precision with a single driver line, which
# the profiling rules call the signature of a faulty entry.
if old.get("crc32") != rom.get("crc32") or old.get("size") != rom.get(
"size"
):