mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-18 17:33:30 -05:00
fix: hold data trees while packs are verified
This commit is contained in:
1 parent
fa34a9fe18
commit
df597cbe7d
2 files changed
+11
No files matched your search
@@ -2993,6 +2993,9 @@ def _main(held: contextlib.ExitStack) -> None:
|
||||
# Quick-exit modes: --verify-packs alone = verify existing packs only
|
||||
# Combined with --all-variants, generation runs first then verify
|
||||
if args.verify_packs and not args.all_variants:
|
||||
# The check resolves core files against data/ like the build did;
|
||||
# a refresh swapping a tree mid-check would judge another tree.
|
||||
hold_data_dirs(held, load_data_dir_registry(args.platforms_dir))
|
||||
with _pack_output_lock(args.output_dir, exclusive=False):
|
||||
_run_verify_packs(args)
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user