feat: add load_from field for non-system_dir files

Replaces mode: standalone hack with load_from: save_dir on Panda3DS
files. The load_from field documents which libretro directory callback
provides the base path (system_dir default, save_dir, content_dir).
Pack generator and cross-reference skip files not targeting system_dir.
This commit is contained in:
Abdessamad Derraz
2026-03-29 13:07:30 +02:00
parent 2dd2b724c1
commit 97eb4835be
3 changed files with 10 additions and 2 deletions

View File

@@ -327,6 +327,10 @@ def find_undeclared_files(
continue
if file_mode == "libretro" and is_standalone:
continue
# Skip files loaded from non-system directories (save_dir, content_dir)
load_from = f.get("load_from", "")
if load_from and load_from != "system_dir":
continue
archive = f.get("archive")