mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-02 14:28:54 -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
@@ -8,7 +8,7 @@ import os
|
||||
|
||||
from model.platforms import load_platform_config
|
||||
from model.sources import source_yaml_file
|
||||
from resolve.standalone import core_dir_tags
|
||||
from resolve.standalone import core_dirs
|
||||
|
||||
|
||||
def group_identical_platforms(
|
||||
@@ -65,7 +65,7 @@ def group_identical_platforms(
|
||||
bool(config.get("case_insensitive_fs")),
|
||||
# Where each core's files go: the same cores handed other
|
||||
# folders make another pack.
|
||||
sorted(core_dir_tags(config)),
|
||||
sorted(core_dirs(config)),
|
||||
]
|
||||
fp = hashlib.sha1(f"{fp}|{emulators}".encode()).hexdigest()
|
||||
if target_cores_cache:
|
||||
|
||||
Reference in new issue
Block a user