mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-03 23:08:55 -06:00
fix: read archive members under the collection
This commit is contained in:
1 parent
27dc26bd80
commit
95cbb5af1d
28 files changed
+104
-49
No files matched your search
@@ -2,6 +2,8 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from pathlib import Path
|
||||
from model.dbpaths import collection_root
|
||||
import os
|
||||
from collections.abc import Callable
|
||||
from dataclasses import dataclass, field
|
||||
@@ -510,7 +512,7 @@ def verify_emulator(
|
||||
# The member index only answers a zipped_file entry, and decompressing
|
||||
# every archive took 23 of the 24 seconds of a run that had none.
|
||||
zip_contents = (
|
||||
build_zip_contents_index(db)
|
||||
build_zip_contents_index(db, collection_root(Path(BIOS_DIR)))
|
||||
if any(f.get("zipped_file") for _name, profile in selected
|
||||
for f in profile.get("files") or [])
|
||||
else {}
|
||||
|
||||
Reference in new issue
Block a user