mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-16 08:23:28 -05:00
fix: give no second-pass copy to unsourceable files
This commit is contained in:
1 parent
12f362dfb9
commit
2fb49d0658
3 files changed
+43
-4
No files matched your search
@@ -604,8 +604,10 @@ def _collect_emulator_extras(
|
||||
fname = f.get("name", "")
|
||||
if not fname:
|
||||
continue
|
||||
# Only duplicate files already covered at another destination
|
||||
if fname not in covered_names:
|
||||
# Only duplicate files already covered at another destination.
|
||||
# An unsourceable entry is a file no collection holds: the name
|
||||
# covered elsewhere belongs to another program's file.
|
||||
if fname not in covered_names or f.get("unsourceable"):
|
||||
continue
|
||||
file_mode = f.get("mode")
|
||||
if file_mode == "standalone" and not is_standalone:
|
||||
|
||||
Reference in new issue
Block a user