Commit Graph
3 Commits
Author SHA1 Message Date
Abdessamad Derraz 05b6b9edcf fix: dedup keeps the copy the index names
dedup ranked copies by path_priority (variant, MAME, Arcade, length) while the scan picked the primary by _takes_primary (variant, emulator tree, walk order). Given sms.rom under bios/Other/zesarux/ and bios/Sega/Master System/, dedup removed the indexed copy and kept the foreign-tree one the resolver sets aside. Both now read collection.scan.primary_rank. The rank reproduces every primary of the current database.json, so the index does not move; dedup's tie-break follows the walk order instead of MAME and path length.
2026-11-21 19:50:46 +01:00
Abdessamad Derraz f77caa1885 fix: report only recorded names as mame clones 2026-11-21 14:58:03 +01:00
Abdessamad Derraz 198515f1cb refactor: move dedup and integrity into collection 2026-11-21 14:58:03 +01:00