mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 18:11:16 +01:00
* Match RetroAchievements by RA hash only, never by Hasheous' game ID Hasheous links an RA game to a whole Hasheous game record, so every dump grouped under it (other revisions, regions, bad dumps) got that RA ID and its achievements, even when RA doesn't list the dump's hash as compatible. It also bypassed RomM's own RA hash lookup and reached the priority merge when RA was deselected or ranked below Hasheous. Stop reading the RetroAchievements ID from the Hasheous lookup, drop the unused RA proxy fetch (its response was discarded), and have fetch_ra_rom always go through RA's hash list. Existing wrong matches clear on a Complete rescan. Fixes #4959 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QdE1MDoDitrZZgZ7PQ3s1Z * pr-ready step 2 (code-review): cover stale and deselected-RA matches, fix stale copy Parametrize the Banjo-Kazooie regression test over RA selected and deselected, starting from a stale Hasheous ra_id, so it pins both the Complete-rescan clear and the priority-merge leak. Move the RA comment onto the hash-lookup branch, drop a merge get_igdb_game already does, and stop the Hasheous provider description claiming it supplies RetroAchievements IDs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QdE1MDoDitrZZgZ7PQ3s1Z * pr-ready step 3 (simplify): reuse scan stubs in the Hasheous RA test Build the Banjo-Kazooie platform, ROM and top-level file with the shared add_n64_platform/add_rom/_top_level_rom_file helpers, state the expected RA lookup as a parameter instead of branching on it, and drop a comment that described the removed Hasheous path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QdE1MDoDitrZZgZ7PQ3s1Z --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>