mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-23 18:17:53 -06:00
refactor: read the repo root from core.paths
This commit is contained in:
1 parent
6465bd99b1
commit
18e91f8c07
7 files changed
+15
-14
No files matched your search
@@ -41,6 +41,7 @@ from model.declarations import merged_platform_declared_contents
|
||||
from model.platforms import load_platform_config
|
||||
from resolve.content import content_fits, name_match_size_ok
|
||||
from core.hashing import parse_md5_list
|
||||
from core.paths import REPO_ROOT
|
||||
from model.safeparse import require_yaml
|
||||
from resolve.localfile import resolve_local_file
|
||||
from resolve.standalone import platform_layouts, standalone_set
|
||||
@@ -465,7 +466,7 @@ class FileConsumers:
|
||||
self._data_dir_registry = (
|
||||
data_dir_registry if data_dir_registry is not None
|
||||
else load_data_dir_registry(
|
||||
str(Path(__file__).resolve().parent.parent / DEFAULT_PLATFORMS_DIR)
|
||||
str(REPO_ROOT / DEFAULT_PLATFORMS_DIR)
|
||||
)
|
||||
)
|
||||
self._sha1_by_path = {
|
||||
|
||||
Reference in new issue
Block a user