mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-23 01:57:48 -06:00
fix: scope --target the same way in every tool
slots and cross_reference go through model.targets.target_scope, so a mistyped target ends with ERROR and exit 1 as in verify, where they exited 2. The platforms --all skips are noted on stderr, which kept slots --json from printing them ahead of its document. slots reads the mode through platform_mode and builds the ZIP index and data-directory registry once per run instead of twice per platform.
This commit is contained in:
1 parent
3467b80b38
commit
ee66aa4e66
4 files changed
+50
-34
No files matched your search
@@ -272,8 +272,9 @@ def build_target_cores_cache(
|
||||
# The seventeen per-platform lines buried the one suggestion that
|
||||
# mattered: the refusal names the closest target across them all.
|
||||
raise ValueError(_unknown_target_message(target, platforms, platforms_dir))
|
||||
# On stderr: slots --json printed them ahead of its document.
|
||||
for note in notes:
|
||||
print(note)
|
||||
print(note, file=sys.stderr)
|
||||
return cache, kept
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user