mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-03 23:08:55 -06:00
refactor: carry platform launches as a dataclass
standalone_set returned one string set mixing standalone names with ten JSON-tagged record kinds that every reader re-decoded. platform_launches now returns a frozen PlatformLaunches (resolve/launches.py) with typed fields, runs_standalone, is_dual, system_file_index and merged, which _build_layouts and packprobe share.
This commit is contained in:
1 parent
d3b741e423
commit
6e44a93156
34 files changed
+493
-467
No files matched your search
@@ -14,6 +14,7 @@ import unittest
|
||||
from pathlib import Path
|
||||
|
||||
from packs.crossref import cross_reference
|
||||
from resolve.launches import PlatformLaunches
|
||||
from resolve.validation import case_folded_slots, declaration_settles
|
||||
|
||||
REPO_ROOT = Path(__file__).resolve().parents[1]
|
||||
@@ -87,7 +88,7 @@ class TheRunningBuildPlacesTheGap(unittest.TestCase):
|
||||
"systems": ["nintendo-wiiu"], "files": [self.KEYS]}}
|
||||
report = cross_reference(
|
||||
profiles, {}, {"files": {}, "indexes": {}}, all_declared={},
|
||||
standalone_cores=standalone,
|
||||
standalone_cores=PlatformLaunches(standalone=frozenset(standalone)),
|
||||
)
|
||||
return [g["path"] for g in report["cemu"]["gap_details"]]
|
||||
|
||||
|
||||
Reference in new issue
Block a user