mirror of
https://github.com/Abdess/retrobios.git
synced 2026-06-23 03:42:48 +00:00
feat: resolve_platform_cores expands all_libretro in list
This commit is contained in:
parent
261f3c1671
commit
b587381f05
1 changed files with 9 additions and 0 deletions
|
|
@ -735,6 +735,15 @@ def resolve_platform_cores(
|
|||
for c in core_set
|
||||
if c in core_to_profile
|
||||
}
|
||||
# Support "all_libretro" as a list element: combines all libretro
|
||||
# profiles with explicitly listed standalone cores (e.g. RetroDECK
|
||||
# ships RetroArch + standalone emulators)
|
||||
if "all_libretro" in core_set or "retroarch" in core_set:
|
||||
result |= {
|
||||
name for name, p in profiles.items()
|
||||
if "libretro" in p.get("type", "")
|
||||
and p.get("type") != "alias"
|
||||
}
|
||||
else:
|
||||
# Fallback: system ID intersection with normalization
|
||||
norm_plat_systems = {_norm_system_id(s) for s in config.get("systems", {})}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue