fix: list a region-free BIOS after regional ones

The PlayStation section opened on psxonpsp660.bin under 'every
region': since sets carry the requirement, ARMSX1's region-free member
of its required BIOS set counts as required, and the world line came
first, above the scph files most emulators read, and its card first.
A file read for every region is a stand-in for each region's BIOS, so
that line now follows the territories.

The Apple II start now leads on BizHawk's and Mednafen's files, a tie
of two readers with CLK's and POM2's apple2e.rom. The test named that
one file. It now checks that every start file is a link, its intent.
This commit is contained in:
Abdessamad Derraz committed 2026-11-10 07:00:01 +01:00
1 parent 08e603fb83
commit 9a4234e21f
2 files changed
+14 -2

No files matched your search

+6 -1
View File
@@ -6599,11 +6599,16 @@ START_WITH_NAMES = 6
def _region_order() -> dict[str, int]:
"""The regions a start line lists, the territories first. A file read
for every region is a region-free stand-in for the BIOS of each one:
the PlayStation section opened on psxonpsp660.bin, which one emulator
requires among the BIOS it accepts, above the scph files most read."""
from region import REGION_TREE, WORLD # noqa: PLC0415
ordered = [WORLD]
ordered = []
for parent, members in REGION_TREE.items():
ordered += [parent, *sorted(members)]
ordered.append(WORLD)
return {region: index for index, region in enumerate(ordered)}