mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-10 21:43:23 -05:00
fix: count an alias as declared in the gap report
This commit is contained in:
1 parent
b00352754c
commit
de795262d7
2 files changed
+23
-2
No files matched your search
@@ -402,8 +402,11 @@ def _cross_reference_profile(
|
||||
|
||||
archive = f.get("archive")
|
||||
|
||||
# Check platform declaration (by name or archive)
|
||||
in_platform = fname in platform_names
|
||||
# Check platform declaration: by name, by an alias the core answers
|
||||
# to (RetroArch lists amiberry's cd32.rom as kick40060.CD32), or by
|
||||
# archive.
|
||||
answers = {fname, *f.get("aliases", [])}
|
||||
in_platform = bool(answers & platform_names)
|
||||
if not in_platform and archive:
|
||||
in_platform = archive in platform_names
|
||||
|
||||
|
||||
Reference in new issue
Block a user