mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-03 23:08:55 -06:00
fix: place install commands where systems link
system_install_choices and the emulator card's maker read the folder votes of sitegen.places while every system link read system_section: Game Boy Color's commands sat under Game Boy, Super A'Can's under Arcade. Both now read system_section, after the boards are recorded, and a test checks every command against its system's link.
This commit is contained in:
1 parent
2971219571
commit
74924be233
9 files changed
+69
-104
No files matched your search
@@ -262,10 +262,10 @@ def _write_system_pages(run: _SiteRun) -> None:
|
||||
})
|
||||
|
||||
# The arcade boards are recorded before any page links one, the
|
||||
# system pages first among them.
|
||||
# system pages and their install commands first among them.
|
||||
reset_console_pages()
|
||||
sections, console_installs = arcade_board_sections(
|
||||
manufacturers, system_install_choices(run.coverages))
|
||||
sections = arcade_board_sections(manufacturers)
|
||||
console_installs = system_install_choices(run.coverages)
|
||||
linked, total = link_coverage(
|
||||
system_ids(run.profiles, [cov["config"] for cov in run.coverages.values()]))
|
||||
print(f" {linked} of {total} system ids linked")
|
||||
|
||||
Reference in new issue
Block a user