fix: place a standalone build's gaps at its path

The gap report took a file's libretro path even where the platform
runs the standalone build, so it named Cemu/keys.txt for Batocera
while verify named keys.txt, and settled the declaration on a slot
the platform never fills. Both now read standalone_path there.
This commit is contained in:
Abdessamad Derraz committed 2026-10-18 04:01:02 +02:00
1 parent df288f8c33
commit b6f6798c15
2 files changed
+33 -1

No files matched your search

+8 -1
View File
@@ -504,7 +504,14 @@ def _cross_reference_profile(
for f in emu_files:
fname = f.get("name", "")
effective_path = f.get("path") or fname
# The destination the running build reads, as find_undeclared_files
# takes it: Batocera's standalone Cemu reads keys.txt at
# standalone_path, and the libretro Cemu/keys.txt reported here
# settled the declaration on a slot the platform never fills.
if is_standalone:
effective_path = f.get("standalone_path") or f.get("path") or fname
else:
effective_path = f.get("path") or fname
seen_key = slot_key(f)
if not fname or seen_key in seen_files:
continue