mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-18 01:13:30 -05:00
fix: let a platform's only target filter nothing
This commit is contained in:
1 parent
8d39b1a270
commit
426d3c619d
12 files changed
+105
-266
No files matched your search
@@ -30,6 +30,7 @@ from pathlib import Path
|
||||
sys.path.insert(0, os.path.dirname(__file__))
|
||||
from common import resolve_platform_cores as _platform_cores
|
||||
from common import (
|
||||
target_listing_line,
|
||||
suggest_names,
|
||||
require_platform,
|
||||
apply_target_overrides,
|
||||
@@ -2897,10 +2898,7 @@ def main():
|
||||
print(f"No targets configured for platform '{args.platform}'")
|
||||
return
|
||||
for t in targets:
|
||||
aliases = f" (aliases: {', '.join(t['aliases'])})" if t["aliases"] else ""
|
||||
print(
|
||||
f" {t['name']:30s} {t['architecture']:10s} {t['core_count']:>4d} cores{aliases}"
|
||||
)
|
||||
print(target_listing_line(t))
|
||||
return
|
||||
|
||||
_validate_args(args, parser)
|
||||
|
||||
Reference in new issue
Block a user