fix: skip path: null entries in cross-reference

Files with explicit path: null are UI-imported (Dolphin NAND,
Hatari cartridge) and not resolvable by pack placement. Skip
them in find_undeclared_files and cross_reference. Also add
desc.dat (SDLPAL fan-made descriptions) to data/. 149/149 OK.
This commit is contained in:
Abdessamad Derraz
2026-03-29 07:26:40 +02:00
parent c241a44c33
commit a369defc15
3 changed files with 8 additions and 1 deletions

View File

@@ -156,6 +156,10 @@ def cross_reference(
if "<" in fname or ">" in fname:
continue
# Skip UI-imported files with explicit path: null (not resolvable by pack)
if "path" in f and f["path"] is None:
continue
# Skip standalone-only files
file_mode = f.get("mode", "both")
if file_mode == "standalone":