fix: keep save and content files out of the truth

This commit is contained in:
Abdessamad Derraz committed 2026-10-06 12:48:58 +02:00
1 parent 443639c33d
commit 9ca14bb77e
6 files changed
+48 -10

No files matched your search

+2 -3
View File
@@ -31,6 +31,7 @@ from common import (
require_yaml,
runs_standalone,
)
from validation import read_from_system_dir
yaml = require_yaml()
@@ -332,9 +333,7 @@ def _cross_reference_profile(
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":
if not read_from_system_dir(f):
continue
# Skip filename-agnostic files (handled by agnostic scan)