feat: emulator mode field, archive ZX81 standalone ROMs

emulator profiles support mode: standalone | libretro | both.
cross_reference.py skips standalone-only files for libretro platforms.
81.yml: type standalone + libretro, upstream ref added, files listed
with mode: standalone and source_refs to both codebases.
bios/Sinclair/ZX 81/: zx81.rom (8K) and dkchr.rom (4K) archived.
This commit is contained in:
Abdessamad Derraz
2026-03-18 17:37:01 +01:00
parent b3b279ccf3
commit 846640dd7c
5 changed files with 67 additions and 40 deletions

View File

@@ -106,6 +106,13 @@ def cross_reference(
if not fname:
continue
# Skip standalone-only files when comparing against libretro
# platforms (RetroArch, Lakka, etc.). These files are embedded
# in the core and don't need to be in the platform pack.
file_mode = f.get("mode", "both")
if file_mode == "standalone":
continue
in_platform = fname in platform_names
in_repo = _find_in_repo(fname, by_name, by_name_lower)