mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-29 21:08:53 -06:00
fix: accept only registered platforms
require_platform checks the registry instead of any platforms/<name>.yml: verify --platform _shared reported 0/0 present and exited 0. --all and --platform resolve through model.cliargs.selected_platforms in auto_fetch, generate_truth, diff_truth, export_native and verify. The truth directory is core.paths.TRUTH_DIR for its writer and its three readers, and the remaining literal database and profile paths read core.paths and add_repo_inputs.
This commit is contained in:
1 parent
a732e69251
commit
ed19ae4198
15 files changed
+69
-67
No files matched your search
@@ -19,7 +19,7 @@ from typing import IO, TYPE_CHECKING, TypedDict
|
||||
from unattended import worktree
|
||||
import core_probe
|
||||
from core import childenv, hostguard
|
||||
from core.paths import REPO_ROOT
|
||||
from core.paths import DB_FILE, REPO_ROOT
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from typing_extensions import Unpack
|
||||
@@ -177,7 +177,7 @@ class Paths:
|
||||
def default(cls) -> Paths:
|
||||
main = worktree.main_checkout()
|
||||
return cls(root=REPO_ROOT, home=main / ".cache" / "campaign",
|
||||
content=main / ".cache" / "test-content", db=REPO_ROOT / "database.json")
|
||||
content=main / ".cache" / "test-content", db=REPO_ROOT / DB_FILE)
|
||||
|
||||
|
||||
ROMFETCH_PASSED = ("XDG_CONFIG_HOME", "XDG_CACHE_HOME", "XDG_DATA_HOME")
|
||||
|
||||
Reference in new issue
Block a user