mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 10:32:57 +01:00
When jeuInfos.php returned a notgame entry (BIOS files, ZZZ hacks, etc.), lookup_rom() had no notgame check, leading to two bugs: - notgame entries with a real ID were stored as valid SS matches - notgame entries with a falsy ID fell through to a jeuRecherche.php name search that always returned nothing (pointless quota usage) Adds _is_notgame() and NOTGAME_NAME_PREFIX, returns SSRom(notgame=True) from lookup_rom() on a notgame hit, and guards the get_rom() fallback in scan_handler so the name search is skipped entirely. Also adds the missing notgame filter to _search_rom() so ZZZ entries can't match by name either. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>