mirror of
https://github.com/rommapp/romm.git
synced 2026-12-02 18:18:47 +01:00
A rehashed ROM whose new hashes no longer match Hasheous kept its old `hasheous_id` and `hasheous_metadata`: the merge loop only writes truthy values, so an empty match cannot overwrite the values seeded from the existing ROM, and the verification flags stayed on a ROM that no longer earned them. Clearing on any empty match would be wrong, though: `lookup_rom` returns the same empty fallback whether Hasheous answered "unknown hashes" or was simply unreachable (#2236), so an outage would silently de-verify a whole library. Have `lookup_rom` return whether it reached a definitive answer, mirroring `meta_ss_handler.lookup_rom`, and only clear the match on a conclusive miss. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>