mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-29 12:58:51 -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
@@ -75,7 +75,7 @@ from resolve.reconcile import build_native_model
|
||||
from scripts.scraper import game_dat_importer
|
||||
from scripts.scraper.redump_dat_scraper import fetch_snapshot
|
||||
from scripts.scraper.targets import discover_target_scrapers
|
||||
from core.paths import REPO_ROOT
|
||||
from core.paths import REPO_ROOT, TRUTH_DIR
|
||||
|
||||
CORE_INFO_REPO = "https://github.com/libretro/libretro-core-info"
|
||||
# The git blob of every .info as last reviewed: `--record-coreinfo` writes it.
|
||||
@@ -1840,7 +1840,7 @@ def main() -> int:
|
||||
help="where the platforms' own files are cached (default: %(default)s)",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--truth-dir", default="dist/truth",
|
||||
"--truth-dir", default=TRUTH_DIR,
|
||||
help="directory of the truth models generate_truth writes (default: "
|
||||
"%(default)s)",
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user