mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-05 01:23:45 -06:00
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:
1 parent
6c7f1c9d06
commit
7482cfefab
7 files changed
+37
-3
No files matched your search
+2
-1
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user