mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-17 00:43:29 -05:00
fix: keep scan copies out of region choices
This commit is contained in:
1 parent
f9a263f11c
commit
d86215235e
2 files changed
+60
-1
No files matched your search
@@ -893,7 +893,12 @@ def platform_region_groups(
|
||||
extra.get("source_path", ""),
|
||||
)
|
||||
] = dest
|
||||
for group_id in extra_region_groups(extra):
|
||||
# A file a filename-agnostic scan accepts by shape competes only if
|
||||
# its seed names a region: PCSX2 picks no PS2 BIOS by territory, and
|
||||
# looked up by name its scph50006 took DuckStation's [japan], which
|
||||
# describes DuckStation's own PS1-on-PS2 choice.
|
||||
competes = not extra.get("agnostic_scan") or extra.get("region")
|
||||
for group_id in extra_region_groups(extra) if competes else ():
|
||||
groups.setdefault(group_id, []).append((dest, name))
|
||||
if extras_out is not None:
|
||||
extras_out.append(extra)
|
||||
|
||||
Reference in new issue
Block a user