mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-17 08:53:28 -05:00
fix: never copy a path-null entry to a pack root
This commit is contained in:
1 parent
e40d63a7f4
commit
48b00730ff
2 files changed
+53
No files matched your search
@@ -686,6 +686,10 @@ def _collect_emulator_extras(
|
||||
# file; the archive itself is placed by the passes above.
|
||||
if f.get("archive"):
|
||||
continue
|
||||
# No path: the core reads it from nowhere a pack reaches
|
||||
# (Dolphin's codehandler.bin ships in its Sys tree).
|
||||
if "path" in f and f["path"] is None:
|
||||
continue
|
||||
file_mode = f.get("mode")
|
||||
if file_mode == "standalone" and not is_standalone:
|
||||
continue
|
||||
|
||||
Reference in new issue
Block a user