mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-03 06:48:52 -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
@@ -94,7 +94,7 @@ class CoreChoice(unittest.TestCase):
|
||||
self.assertTrue(packprobe.libretro_build_runs("duckstation", both, {
|
||||
"standalone_cores": ["duckstation"], "dual_mode_cores": ["duckstation-sa"]}, {}))
|
||||
# A buildbot core installable under the standalone name is its
|
||||
# libretro build, run both ways (standalone_set).
|
||||
# libretro build, run both ways (platform_launches).
|
||||
self.assertTrue(packprobe.libretro_build_runs("duckstation", both, {
|
||||
"standalone_cores": ["duckstation"], "installable_cores": ["duckstation"]}, {}))
|
||||
self.assertFalse(packprobe.libretro_build_runs("x", {"type": "standalone"}, {}, {}))
|
||||
|
||||
Reference in new issue
Block a user