mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-18 09:23:26 -05:00
chore: drop the shared groups no platform reads
Six of the eight shared groups injected nothing: three were included by no platform, three repeated System.dat entry for entry, so a correction made in them reached no pack. They are removed with their scraper wiring, and a test requires every remaining group to contribute an entry somewhere.
This commit is contained in:
1 parent
b6f6798c15
commit
d5f40a4515
4 files changed
+26
-186
No files matched your search
@@ -451,22 +451,18 @@ class Scraper(BaseScraper):
|
||||
systems[sys_id]["files"].append({**ef, "curated": True})
|
||||
existing.add(key)
|
||||
|
||||
# ep128emu shared group for Enterprise
|
||||
if "enterprise-64-128" in systems:
|
||||
systems["enterprise-64-128"].setdefault("includes", [])
|
||||
if "ep128emu" not in systems["enterprise-64-128"]["includes"]:
|
||||
systems["enterprise-64-128"]["includes"].append("ep128emu")
|
||||
|
||||
# Inject shared group references for systems that have core-specific
|
||||
# subdirectory requirements already defined in _shared.yml.
|
||||
# Note: fuse/ prefix NOT injected for sinclair-zx-spectrum.
|
||||
# Verified in fuse-libretro/src/compat/paths.c -core searches
|
||||
# system/ flat, not fuse/ subfolder. Docs are wrong on this.
|
||||
# A group System.dat already covers entry for entry injects nothing
|
||||
# (ep128emu, keropi and kronos were), and a correction made there
|
||||
# would never reach a pack: load_platform_config keeps the
|
||||
# platform's own entry.
|
||||
SYSTEM_SHARED_GROUPS = {
|
||||
"nec-pc-88": ["quasi88"],
|
||||
"nec-pc-98": ["np2kai"],
|
||||
"sharp-x68000": ["keropi"],
|
||||
"sega-saturn": ["kronos"],
|
||||
}
|
||||
for sys_id, groups in SYSTEM_SHARED_GROUPS.items():
|
||||
if sys_id in systems:
|
||||
|
||||
Reference in new issue
Block a user