mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
ScreenScraper matching skipped the stronger jeuInfos (romnom + systemeid) lookup for any file without a hash, falling straight through to the weaker jeuRecherche name search. Files are un-hashed for NON_HASHABLE_PLATFORMS (PS3/4/5, Switch, Wii U, Xbox, etc.) and whenever SKIP_HASH_CALCULATION is set, so those platforms matched worse than they could. The transport already supports a hash-less jeuInfos?romnom=...&systemeid=... request, so relax lookup_rom's early-return: only bail when there is neither a hash nor a filename to match on. jeuRecherche stays the last-resort fallback, keeping this quota-neutral. Written primarily by Claude Code. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>