mirror of
https://github.com/Abdess/retrobios.git
synced 2026-06-29 22:02:48 +00:00
feat: propagate target_cores through find_undeclared_files, find_exclusion_notes, verify_platform, _collect_emulator_extras
This commit is contained in:
parent
e17d771710
commit
1c34790737
3 changed files with 43 additions and 5 deletions
|
|
@ -185,6 +185,7 @@ def _collect_emulator_extras(
|
|||
seen: set,
|
||||
base_dest: str,
|
||||
emu_profiles: dict | None = None,
|
||||
target_cores: set[str] | None = None,
|
||||
) -> list[dict]:
|
||||
"""Collect core requirement files from emulator profiles not in the platform pack.
|
||||
|
||||
|
|
@ -198,7 +199,7 @@ def _collect_emulator_extras(
|
|||
"""
|
||||
from verify import find_undeclared_files
|
||||
|
||||
undeclared = find_undeclared_files(config, emulators_dir, db, emu_profiles)
|
||||
undeclared = find_undeclared_files(config, emulators_dir, db, emu_profiles, target_cores=target_cores)
|
||||
extras = []
|
||||
for u in undeclared:
|
||||
if not u["in_repo"]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue