fix: report core files as the builder declares

This commit is contained in:
Abdessamad Derraz committed 2026-10-17 19:19:05 +02:00
1 parent 02ab1556cf
commit d600a54a6e
2 files changed
+52

No files matched your search

+5
View File
@@ -1089,6 +1089,10 @@ def verify_platform(
from cross_reference import _build_supplemental_index
supplemental_names = _build_supplemental_index()
# The builder's declarations, not the enriched ones: a core file the
# platform also declares under another name is packed at the core's own
# path, and a report reading the enriched set never counted it (21 such
# files in the RetroArch pack).
undeclared = find_undeclared_files(
config,
emulators_dir,
@@ -1096,6 +1100,7 @@ def verify_platform(
emu_profiles,
target_cores=target_cores,
data_names=supplemental_names,
declared_names=platform_declarations(config, db, enrich=False),
)
if region_drops:
undeclared = [