fix: keep MinUI core dirs out of the tree view

Without --platform, cross_reference and the site's gap report merged every
platform's standalone set, MinUI, NextUI and MyMinUI coredir: markers
included. A marker says which cores one platform hands a folder, so in the
union every core those three do not list got no layout: px68k showed 0 of
6 files and the global report lost 238 profiles and 1201 files.
merged_standalone_set drops the markers, and both readers use it.
This commit is contained in:
Abdessamad Derraz committed 2026-11-05 19:39:07 +01:00
1 parent 0428588a6c
commit da19bb5755
4 files changed
+48 -7

No files matched your search

+3 -3
View File
@@ -1159,7 +1159,7 @@ def build_emulator_gap_report(
for k, v in profiles.items()
if v.get("type") not in ("alias", "test")
}
from common import platform_declarations, standalone_set
from common import merged_standalone_set, platform_declarations
from validation import case_folded_slots
# The command line passes these too: without them a RetroBat file named
@@ -1171,8 +1171,8 @@ def build_emulator_gap_report(
return run_cross_reference(
unique_profiles, declared, db,
data_names=data_names, all_declared=all_declared,
standalone_cores=set().union(
*(standalone_set(cov["config"]) for cov in coverages.values())
standalone_cores=merged_standalone_set(
cov["config"] for cov in coverages.values()
),
folded_slots=folded,
)