mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-21 11:19:11 -05:00
fix: count core files as the pack places them
The report counted claims, not files: several cores claim one path (rom.key by three Amiga cores, openbios.bin with and without a region) and the builder ships one file there. RetroArch read 1130 core files, 48 more than its pack. Game data ignored the in_pack marker, so RomM read 351 game data files in a pack that holds none. verify now takes both counts from its replay of the builder's placement, one per pack path.
This commit is contained in:
1 parent
6bfd73f4f8
commit
89050ea5d9
3 files changed
+76
-5
No files matched your search
@@ -215,6 +215,7 @@ def hidden_extras(
|
||||
placed: set[str] | None = None,
|
||||
report: list[dict] | None = None,
|
||||
resolver: ExtraResolver | None = None,
|
||||
placed_by: dict[str, tuple[str, str, str]] | None = None,
|
||||
) -> dict[tuple[str, str, str], str]:
|
||||
"""Report entries the builder holds and still leaves out, with the reason.
|
||||
|
||||
@@ -286,6 +287,11 @@ def hidden_extras(
|
||||
lower.add(full.lower())
|
||||
if placed is not None and local:
|
||||
placed.add(full)
|
||||
if placed_by is not None and local:
|
||||
placed_by[full] = (
|
||||
fe.get("source_emulator", ""), fe.get("source_name", ""),
|
||||
fe.get("source_path", ""),
|
||||
)
|
||||
return hidden
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user