feat: a platform package can differ from upstream

bundled describes the emulator's own release, and a platform package can differ both ways: Batocera's hcl package installs the binary alone and sends users to fetch the data, while its blueMSX core package copies the machines and databases beside the core. not_bundled_on and installed_on name those platforms, and the builder reads them through one rule.
This commit is contained in:
Abdessamad Derraz committed 2026-10-20 06:11:10 +02:00
1 parent 36e30beac0
commit f7d57dd91d
6 files changed
+77 -4

No files matched your search

+3
View File
@@ -353,6 +353,9 @@ def load_platform_config(platform_name: str, platforms_dir: str = "platforms") -
for sys_id, system in config.get("systems", {}).items()
}
# The registry key, which per-platform profile fields (installed_on,
# not_bundled_on) name: the display name differs (MiSTer FPGA).
config["_key"] = platform_name
_platform_config_cache[cache_key] = config
return config