mirror of
https://github.com/rommapp/romm.git
synced 2026-12-04 21:02:21 +01:00
The regions, languages and tags a hash-matched source (ScreenScraper, Hasheous) gave a ROM were only known while that source answered. A scan that didn't ask it, such as an UPDATE with only IGDB selected or an UNMATCHED scan of a ROM Hasheous already matched, rebuilt the tags from the filename and the sources it did ask, and dropped them: the row can't say which of its tags came from where. Each hash source now keeps the tags its dump gave in its own blob (dump_regions, dump_languages, dump_tags), and a scan that doesn't hear from a source the ROM still carries the id of reads them from there. A complete rescan still clears the id and blob of a source it drops, so those tags go with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>