fix: never copy a path-null entry to a pack root

This commit is contained in:
Abdessamad Derraz committed 2026-10-16 14:03:09 +02:00
1 parent e40d63a7f4
commit 48b00730ff
2 files changed
+53

No files matched your search

+4
View File
@@ -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