mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-26 03:18: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
@@ -27,7 +27,8 @@ from typing import TYPE_CHECKING, TypedDict
|
||||
|
||||
sys.path.insert(0, os.path.dirname(__file__))
|
||||
from model.alternatives import set_keys, set_requirements, settle_sets
|
||||
from resolve.layout import OUTER_ROOTS, system_dir_path
|
||||
from model.declarations import OUTER_ROOTS
|
||||
from resolve.layout import system_dir_path
|
||||
from model.cliargs import platform_arg, list_emulator_profiles, require_platform
|
||||
from model.profiles import ProfileSelectionError, load_emulator_profiles, select_emulator_profiles
|
||||
from resolve.ownership import _foreign_tree, _owner_tokens
|
||||
|
||||
Reference in new issue
Block a user