mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-18 01:13:30 -05:00
fix: suggest the nearest system or emulator name
This commit is contained in:
1 parent
c1c3808e1e
commit
feb3b03a39
4 files changed
+33
-9
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 (
|
||||
suggest_names,
|
||||
require_platform,
|
||||
apply_target_overrides,
|
||||
archive_entry,
|
||||
@@ -1646,10 +1647,8 @@ def generate_system_pack(
|
||||
f"No emulators found for system(s): {', '.join(system_ids)}",
|
||||
file=sys.stderr,
|
||||
)
|
||||
print(
|
||||
f"Available systems: {', '.join(sorted(all_systems)[:20])}...",
|
||||
file=sys.stderr,
|
||||
)
|
||||
print(suggest_names(system_ids, sorted(all_systems), "--list-systems"),
|
||||
file=sys.stderr)
|
||||
return None
|
||||
|
||||
# Named like the platform's --system tag: one spelling of a system is
|
||||
|
||||
Reference in new issue
Block a user