mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-04-13 12:22:33 -05:00
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:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user