feat: take a platform's own libretro builds

A list naming retroarch now takes the libretro profiles whose built_by names the platform: ROCKNIX ships yabadabadoo with its RetroArch and named it nowhere, so its files never reached the ROCKNIX pack. Only change across the registry: rocknix + yabadabadoo. Also quotes the installer's current unproven-drive message.
This commit is contained in:
Abdessamad Derraz committed 2026-11-09 17:18:44 +01:00
1 parent a40f8416e1
commit b270a24d7b
4 files changed
+30 -5

No files matched your search

+9 -3
View File
@@ -2891,15 +2891,21 @@ def resolve_platform_cores(
If target_cores is provided, result is intersected with it.
"""
cores_config = config.get("cores")
platform_key = str(config.get("_key") or "")
def every_libretro() -> set[str]:
# A build only some platforms compile (built_by) is reached by name:
# the buildbot RetroArch installs from does not publish it.
# A build only some platforms compile (built_by) is absent from the
# buildbot RetroArch installs from, so it is reached by name, or as one
# of the libretro cores of a platform that compiles it: ROCKNIX ships
# yabadabadoo with its RetroArch and names it nowhere else.
return {
name
for name, p in profiles.items()
if "libretro" in p.get("type", "") and p.get("type") != "alias"
and not p.get("built_by")
and (
not p.get("built_by")
or (platform_key and platform_key in p["built_by"])
)
}
if cores_config == "all_libretro":