fix: keep archives whole in verify's region filter

This commit is contained in:
Abdessamad Derraz committed 2026-10-17 10:43:54 +02:00
1 parent 83d8f62f68
commit 7ed5ed3cee
2 files changed
+40 -1

No files matched your search

+5 -1
View File
@@ -1505,10 +1505,14 @@ def verify_emulator(
standalone,
)
if region_drops:
# Loose files only, as the emulator pack: an archive ships whole,
# and dropping kronos' regional stvbios.zip members rebuilt the
# archive here from 4 of its 14 members and changed its required.
files = [
fe
for fe in files
if _resolve_destination(fe, standalone) not in region_drops
if fe.get("archive")
or _resolve_destination(fe, standalone) not in region_drops
]
# Check data directories (only notice if not cached)