mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-04-13 12:22:33 -05:00
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:
@@ -318,6 +318,9 @@ def find_undeclared_files(
|
||||
# Skip pattern placeholders (e.g., <user-selected>.bin)
|
||||
if "<" in fname or ">" 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
|
||||
# Mode filtering: skip files incompatible with platform's usage
|
||||
file_mode = f.get("mode")
|
||||
if file_mode == "standalone" and not is_standalone:
|
||||
|
||||
Reference in New Issue
Block a user