mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-27 03:48: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
@@ -13,12 +13,11 @@ from resolve.layout import (
|
||||
CONTENT_SYSTEM_TAG,
|
||||
CONTENT_TAG_PREFIXES,
|
||||
OUTSIDE_BIOS_FOLDER,
|
||||
ROMS_ROOT,
|
||||
ROM_SEARCH_PREFIX,
|
||||
_placed_entry,
|
||||
outer_layout,
|
||||
standalone_layout_path,
|
||||
)
|
||||
from model.declarations import ROMS_ROOT, outer_layout
|
||||
from core.paths import REPO_ROOT
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user