mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-22 17:47:48 -06:00
feat: give every Nintendo console its own page
"gba bios" landed on mGBA's page because the Game Boy Advance was a section of the Nintendo page. CONSOLE_PAGES now splits Nintendo as it does Sony: eleven more consoles get a page (Famicom Disk System, Game Boy Advance, Game Boy Color, Nintendo 64, Pokemon Mini, Satellaview, SuFami Turbo, Super Famicom Box, Super Game Boy, Switch, Wii). Each section keeps its heading and anchor on the Nintendo page and leads to the console's page. The search gate expects the Game Boy Advance, Game Boy Color and Wii pages first for their queries.
This commit is contained in:
1 parent
2d587749a5
commit
b4b4ddffb5
7 files changed
+73
-23
No files matched your search
@@ -308,14 +308,25 @@
|
||||
"systems/microsoft-msx-2.md": "systems/microsoft.md",
|
||||
"systems/microsoft-msx.md": "systems/microsoft.md",
|
||||
"systems/nintendo-3ds.md": "systems/nintendo.md",
|
||||
"systems/nintendo-famicom-disk-system.md": "systems/nintendo.md",
|
||||
"systems/nintendo-game-boy-advance.md": "systems/nintendo.md",
|
||||
"systems/nintendo-game-boy-color.md": "systems/nintendo.md",
|
||||
"systems/nintendo-game-boy.md": "systems/nintendo.md",
|
||||
"systems/nintendo-gamecube.md": "systems/nintendo.md",
|
||||
"systems/nintendo-nes.md": "systems/nintendo.md",
|
||||
"systems/nintendo-nintendo-64.md": "systems/nintendo.md",
|
||||
"systems/nintendo-nintendo-64dd.md": "systems/nintendo.md",
|
||||
"systems/nintendo-nintendo-ds.md": "systems/nintendo.md",
|
||||
"systems/nintendo-nintendo-dsi.md": "systems/nintendo.md",
|
||||
"systems/nintendo-pokemon-mini.md": "systems/nintendo.md",
|
||||
"systems/nintendo-satellaview.md": "systems/nintendo.md",
|
||||
"systems/nintendo-snes.md": "systems/nintendo.md",
|
||||
"systems/nintendo-sufami-turbo.md": "systems/nintendo.md",
|
||||
"systems/nintendo-super-famicom-box.md": "systems/nintendo.md",
|
||||
"systems/nintendo-super-game-boy.md": "systems/nintendo.md",
|
||||
"systems/nintendo-switch.md": "systems/nintendo.md",
|
||||
"systems/nintendo-wii-u.md": "systems/nintendo.md",
|
||||
"systems/nintendo-wii.md": "systems/nintendo.md",
|
||||
"systems/other-altirra.md": "systems/other.md",
|
||||
"systems/other-armsx2.md": "systems/other.md",
|
||||
"systems/other-c64-emu.md": "systems/other.md",
|
||||
|
||||
@@ -62,7 +62,7 @@ QUERIES: dict[str, tuple[tuple[str, ...], int]] = {
|
||||
# of its page. Flycast's page names dc_boot.bin and where it goes.
|
||||
"psx bios": (("systems/sony",), 3),
|
||||
"dc bios missing": (("systems/sega", "emulators/flycast/"), 3),
|
||||
"gba bios": (("systems/nintendo",), 3),
|
||||
"gba bios": (("systems/nintendo-game-boy-advance/",), 3),
|
||||
# A console whose page answers "No file needed" says BIOS only where the
|
||||
# search does not read: its `terms` field carries "<name> BIOS".
|
||||
"snes bios": (("systems/nintendo-snes/",), 1),
|
||||
@@ -71,21 +71,20 @@ QUERIES: dict[str, tuple[tuple[str, ...], int]] = {
|
||||
"game boy bios": (("systems/nintendo-game-boy/",), 1),
|
||||
"3ds bios": (("systems/nintendo-3ds/",), 1),
|
||||
# A console another one's name begins with, both ways: the longer name's
|
||||
# page holds every word of the shorter query. GBA and GBC are sections
|
||||
# of their maker's page. Saturn.emu is an emulator named after its
|
||||
# console.
|
||||
# page holds every word of the shorter query. Saturn.emu is an emulator
|
||||
# named after its console.
|
||||
"playstation 2 bios": (("systems/sony-playstation-2/",), 1),
|
||||
# Every Sony console has a page of its own (CONSOLE_PAGES). The search
|
||||
# weighs words, not their order, and "3" is on too many pages to weigh:
|
||||
# the PlayStation page, which names BIOS v3.0 and leads "playstation
|
||||
# bios", stays just above. "ps3 bios" finds the page first.
|
||||
# Every Sony and Nintendo console has a page of its own (CONSOLE_PAGES).
|
||||
# The search weighs words, not their order, and "3" is on too many pages
|
||||
# to weigh: the PlayStation page, which names BIOS v3.0 and leads
|
||||
# "playstation bios", stays just above. "ps3 bios" finds the page first.
|
||||
"playstation 3 bios": (("systems/sony-playstation-3/",), 2),
|
||||
"ps3 bios": (("systems/sony-playstation-3/",), 1),
|
||||
"game boy advance bios": (("systems/nintendo/",), 1),
|
||||
"game boy color bios": (("systems/nintendo/",), 1),
|
||||
"game boy advance bios": (("systems/nintendo-game-boy-advance/",), 1),
|
||||
"game boy color bios": (("systems/nintendo-game-boy-color/",), 1),
|
||||
"nintendo ds bios": (("systems/nintendo-nintendo-ds/",), 1),
|
||||
"nintendo dsi bios": (("systems/nintendo-nintendo-dsi/",), 1),
|
||||
"wii bios": (("systems/nintendo/",), 1),
|
||||
"wii bios": (("systems/nintendo-wii/",), 1),
|
||||
"wii u bios": (("systems/nintendo-wii-u/",), 1),
|
||||
"saturn bios": (("systems/sega-saturn/",), 1),
|
||||
# The words an emulator prints, and the page that answers them.
|
||||
|
||||
Reference in new issue
Block a user