mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-18 01:13:30 -05:00
fix: never drop a held file for a missing region
Region filtering ranked every declared file, held or not, so a request answered only by a missing file dropped the held fallback and emptied the slot. Only held files now decide what gives way; the missing better match stays reported.
This commit is contained in:
1 parent
5cfcb9e746
commit
e6c29452f9
6 files changed
+69
-8
No files matched your search
@@ -967,6 +967,7 @@ def verify_platform(
|
||||
# every core extra a region run withdraws from the pack.
|
||||
from packextras import platform_region_groups
|
||||
|
||||
held: set[str] = set()
|
||||
region_groups, region_extra_dests = platform_region_groups(
|
||||
config,
|
||||
verify_systems,
|
||||
@@ -975,11 +976,13 @@ def verify_platform(
|
||||
config.get("base_destination", ""),
|
||||
profiles,
|
||||
target_cores=target_cores,
|
||||
held_out=held,
|
||||
)
|
||||
region_drops = region_mod.resolve_region_drops(
|
||||
region_groups,
|
||||
region_mod.platform_region_index(config, profiles, target_cores),
|
||||
regions,
|
||||
held,
|
||||
)
|
||||
|
||||
# A destination two systems declare with two hashes ships one file, the
|
||||
|
||||
Reference in new issue
Block a user