mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
IGDB catalogues a console and its regional twin as two separate platforms (SNES/Super Famicom, NES/Famicom). RomM locked each IGDB search to a single platform id, so a region-exclusive title catalogued under only the twin — e.g. the Japan-only Super Famicom game "Rudra no Hihou" (platform 58) scanned from an `snes` folder (platform 19) — was filtered out before name matching ran and never matched. Include a platform's regional twin in the IGDB platform filter so both are searched. A non-twin platform keeps the exact existing query (`platforms=[19]`); a twin produces an OR group (`(platforms=[19] | platforms=[58])`), leaving all other platforms and recorded cassettes unchanged. Written primarily by Claude Code. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>