mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-28 20:38:52 -06:00
refactor: break the launchers and layout cycle
resolve.layout imported resolve.launchers inside functions, and launchers imported the outer roots back from layout inside functions: the cycle common.py and launchers.py had. The outer roots and outer_layout read only the platform config, so they move to model.declarations beside declared_root, and launchers imports them at the top.
This commit is contained in:
1 parent
c764d9abf1
commit
bcb99cf761
10 files changed
+68
-73
No files matched your search
@@ -40,7 +40,8 @@ from typing import TYPE_CHECKING, TypedDict
|
||||
sys.path.insert(0, os.path.dirname(__file__))
|
||||
from model.alternatives import core_file_spares, settle_sets, slot_set_keys
|
||||
from resolve.cores import resolve_platform_cores as _platform_cores
|
||||
from resolve.layout import ROMS_ROOT, OUTER_ROOTS, outer_layout, core_system_dirs
|
||||
from model.declarations import ROMS_ROOT, OUTER_ROOTS, outer_layout
|
||||
from resolve.layout import core_system_dirs
|
||||
from resolve.contentlayout import TARGET_KEY, _core_key, content_folder_boards
|
||||
from model.profiles import (
|
||||
installed_data_refs,
|
||||
|
||||
Reference in new issue
Block a user