mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-26 13:47:20 -05:00
chore: merge round 2 fixes (tooling)
This commit is contained in:
commit
055627f39c
22 files changed
+704
-141
No files matched your search
@@ -986,11 +986,16 @@ def main() -> None:
|
||||
if args.platform:
|
||||
from common import load_target_config, resolve_platform_cores
|
||||
|
||||
target_cores = (
|
||||
load_target_config(args.platform, args.target, args.platforms_dir)
|
||||
if args.target
|
||||
else None
|
||||
)
|
||||
try:
|
||||
target_cores = (
|
||||
load_target_config(args.platform, args.target, args.platforms_dir)
|
||||
if args.target
|
||||
else None
|
||||
)
|
||||
except (FileNotFoundError, ValueError) as exc:
|
||||
# A typo ended in a traceback where verify and slots name the
|
||||
# closest target.
|
||||
parser.error(str(exc))
|
||||
config = load_platform_config(args.platform, args.platforms_dir)
|
||||
relevant = resolve_platform_cores(config, profiles, target_cores=target_cores)
|
||||
run_anywhere = (
|
||||
|
||||
Reference in new issue
Block a user