mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-28 20:38:52 -06:00
refactor: one reader of a declared destination
This commit is contained in:
1 parent
d55555f3e0
commit
825c527d11
8 files changed
+30
-33
No files matched your search
@@ -38,7 +38,7 @@ from resolve.packfiles import resolve_declaration, resolve_file
|
||||
from resolve.categories import BIOS, EntryCategories
|
||||
from resolve.gamedata import without_game_data
|
||||
from resolve.cores import resolve_platform_cores
|
||||
from core.paths import sanitize_pack_path
|
||||
from core.paths import declared_destination
|
||||
import zipfile
|
||||
from collections.abc import Callable
|
||||
|
||||
@@ -841,7 +841,7 @@ def _baseline_groups(
|
||||
system_of[id(fe)] = sys_id
|
||||
if opts.required_only and fe.get("required") is False:
|
||||
continue
|
||||
dest = sanitize_pack_path(fe.get("destination", fe.get("name", "")))
|
||||
dest = declared_destination(fe)
|
||||
if not dest:
|
||||
continue
|
||||
if expect.region_drops and dest in expect.region_drops:
|
||||
|
||||
Reference in new issue
Block a user