mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-12 04:53:52 -06:00
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:
1 parent
0428588a6c
commit
da19bb5755
4 files changed
+48
-7
No files matched your search
@@ -1156,12 +1156,12 @@ def main() -> None:
|
||||
# The tree as every platform runs it: a profile some platform runs
|
||||
# standalone keeps its standalone entries. Laid out as libretro only,
|
||||
# eka2l1, dolphin and xenia-edge lost 133 files no platform declares.
|
||||
from common import list_registered_platforms
|
||||
from common import list_registered_platforms, merged_standalone_set
|
||||
|
||||
standalone_cores = set().union(*(
|
||||
standalone_set(load_platform_config(name, args.platforms_dir))
|
||||
standalone_cores = merged_standalone_set(
|
||||
load_platform_config(name, args.platforms_dir)
|
||||
for name in list_registered_platforms(args.platforms_dir, include_archived=True)
|
||||
))
|
||||
)
|
||||
|
||||
if not profiles:
|
||||
if emulator and args.target and emulator in run_anywhere:
|
||||
|
||||
Reference in new issue
Block a user