mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-20 18:59:07 -05:00
fix: count systems once per normalized id
This commit is contained in:
1 parent
cdeed8a523
commit
4f42c52a7f
5 files changed
+42
-23
No files matched your search
@@ -28,6 +28,7 @@ from common import (
|
||||
load_platform_config,
|
||||
load_platform_registry,
|
||||
resolve_platform_cores,
|
||||
system_index,
|
||||
unique_emulator_profiles,
|
||||
write_if_changed,
|
||||
)
|
||||
@@ -321,9 +322,7 @@ def generate_readme(db: dict, platforms_dir: str) -> str:
|
||||
)
|
||||
acquirable_total = missing_total - unsourceable_total
|
||||
|
||||
system_ids: set[str] = set()
|
||||
for p in profiles.values():
|
||||
system_ids.update(p.get("systems", []))
|
||||
system_ids = system_index(profiles)
|
||||
|
||||
lines = [
|
||||
'<p align="center">',
|
||||
|
||||
Reference in new issue
Block a user