mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-10 21:43:23 -05:00
refactor: scope validation to a platform's cores
This commit is contained in:
1 parent
b4b925ebff
commit
75f4542ea8
2 files changed
+19
-8
No files matched your search
@@ -597,14 +597,17 @@ def generate_pack(
|
||||
file_status: dict[str, str] = {}
|
||||
file_reasons: dict[str, str] = {}
|
||||
|
||||
# Build emulator-level validation index (same as verify.py)
|
||||
validation_index = {}
|
||||
if emu_profiles:
|
||||
validation_index = _build_validation_index(emu_profiles)
|
||||
|
||||
# Filter systems by target if specified
|
||||
# Build emulator-level validation index from the platform's own
|
||||
# emulators (same scope as verify.py)
|
||||
from common import resolve_platform_cores
|
||||
|
||||
validation_index = {}
|
||||
if emu_profiles:
|
||||
validation_index = _build_validation_index(
|
||||
{name: emu_profiles[name] for name in resolve_platform_cores(config, emu_profiles)}
|
||||
)
|
||||
|
||||
# Filter systems by target if specified
|
||||
plat_cores = (
|
||||
resolve_platform_cores(config, emu_profiles or {}) if target_cores else None
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user