refactor: type the default core of a rom folder

This commit is contained in:
Abdessamad Derraz committed 2026-11-11 14:25:05 +01:00
1 parent 7c5ad8366b
commit 1abbd44914
1 file changed
+1 -1
+1 -1
View File
@@ -519,7 +519,7 @@ def elec_conf(spec: dict, fetcher: Fetcher) -> list[dict]:
"when": ", ".join(f"{v} {p}".strip() for v, p in c["branches"]),
"source_ref": _ref(key, package, c["line"])}
for c in mine
], pick and pick["core"], pick and pick["emulator"]),
], pick["core"] if pick else None, pick["emulator"] if pick else None),
"arcade": values.get("SYSTEM_HARDWARE") == "arcade" or None,
"note": note,
})