fix: index the standalone layout for regions

GC/EUR/IPL.bin fell through to its bare name and the union of five regions, so a Batocera or standalone Dolphin pack never reduced it. The GameCube IPLs of four Dolphin-family profiles now name their system, as the MMJR profiles do.
This commit is contained in:
Abdessamad Derraz committed 2026-10-18 19:51:03 +02:00
1 parent 6c7f1c9d06
commit 7482cfefab
7 files changed
+37 -3

No files matched your search

+2 -1
View File
@@ -60,7 +60,8 @@ def build_slot_index(profiles: dict) -> dict[str, dict]:
continue
name = f.get("name", "")
path = f.get("path") or ""
for key in {path, name} - {""}:
# Keyed by the standalone layout too, as build_region_index is.
for key in {path, f.get("standalone_path") or "", name} - {""}:
entry = index.setdefault(
key,
{"rank": None, "conflict": False, "regions": set(),