mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-10 21:43:23 -05:00
fix: apply required-only to emulator pack archives
This commit is contained in:
1 parent
c5566b7d06
commit
c37d7fc95a
2 files changed
+47
No files matched your search
@@ -1345,6 +1345,15 @@ def generate_emulator_pack(
|
||||
),
|
||||
{"name": archive_name},
|
||||
)
|
||||
if required_only and archive_entry.get("required") is False and all(
|
||||
member.get("required") is False
|
||||
for member in files
|
||||
if member.get("archive") == archive_name
|
||||
):
|
||||
# Optional as a whole: its own entry and every member it
|
||||
# carries. geolith's _Required pack held neocd.zip and
|
||||
# irrmaze.zip all the same.
|
||||
continue
|
||||
local_path, status = resolve_file(
|
||||
archive_entry,
|
||||
db,
|
||||
|
||||
Reference in new issue
Block a user