Files
libretro/emulators/yabause.yml
T
Abdessamad Derraz 1e12d9fe38 feat: group the first-found BIOS lists
Each list read at the profile's pin, every member required: true where
the code needs one of the set, the order left in priority.

- yabause, yabasanshiro, kronos: libretro.c tries saturn_bios.bin,
  sega_101.bin, mpr-17933.bin (yabause 1035-1049, yabasanshiro
  1048-1071, kronos 1619-1638 after kronos/saturn_bios.bin). kronos
  also reads saturn_bios.bin at the system root, now its own entry.
  yabasanshiro refuses the game with no file even under forced HLE
  (1064-1071), so its hle_fallback is gone.
- yabadabadoo: bios_for_region (libretro.c:262-284) takes any of the
  three in an order the disc region picks. One group, no priority:
  region keeps that order, no single rank would be true.
- ymir libretro: kBiosFilenames (libretro.cpp:305-309), region first,
  else the first found, no game without one (1231-1236).
- duckstation: FindBIOSImageInDirectory (bios.cpp:397-450) keeps any
  image of the right size, a region mismatch only warns: one set.
- picodrive: find_bios walks one list per disc region
  (libretro.c:1272-1336), three groups.
- px68k: BIOSFILE then cgrom.dat or cgrom.tmp (libretro.c:984-1032).
- px68k-sdl: BIOSFILE and FONTFILE lists (winx68k.cpp:277-331).
- numero: ti83se, ti83plus, ti83 (libretronew.cpp:575-594), no ROM
  leaves a blank screen.
- freechaf: sl90025 then sl31253, HLE without either
  (libretro.c:186-199), optional set.
- pcsx1: scph1001, scph5501, scph7001 then any scph* (libretro.c:1229),
  HLE without, optional set.
- odin: three boot ROMs inside hikaru.zip.
2026-11-09 17:40:00 +01:00

83 lines
3.0 KiB
YAML

emulator: "Yabause"
type: libretro
core_classification: community_fork
source: "https://github.com/libretro/yabause"
upstream: "https://github.com/Yabause/yabause"
profiled_date: "2026-03-25"
source_commit: "8926b0c6c347f8c5c755911ddb0ac695420ffbf8"
core_version: "v0.9.15"
version_basis:
kind: file
path: "yabause/src/libretro/libretro.c"
pattern: 'info->library_version\s+=\s+"([^"]+)'
display_name: "Sega - Saturn (Yabause)"
cores:
- yabause
systems:
- sega-saturn
notes: |
Yabause is a software-rendered Sega Saturn emulator. The last commit on the
master branch of Yabause/yabause is from 2018-07-07. The libretro port is
maintained by the community on the master branch of libretro/yabause.
Saturn BIOS search order:
1. {system}/saturn_bios.bin
2. {system}/sega_101.bin
3. {system}/mpr-17933.bin
First file found wins. HLE BIOS available via yabause_force_hle_bios core
option (reduced compatibility). Multi-disc (m3u) requires real BIOS.
Addon cartridges: 1M/4M RAM expansion via core option (no files needed).
ROM cartridge loading, SH1 ROM (CD Block LLE), and MPEG card ROM are
standalone-only features disabled in the libretro port.
The CD block answers every MPEG card authentication as passed
(yabause/src/cs2.c:3172-3212) but decodes no MPEG stream: MPEG Get Interrupt
always reports 0 (yabause/src/cs2.c:2870-2884), and the port passes no MPEG
ROM (yabause/src/libretro/libretro.c:1118). A disc that needs the Movie Card,
such as Lunar - Silver Star Story Complete (Japan), passes its check under a
real BIOS and stops on a black screen after the publisher logos. The Japanese
v1.00 and v1.01 images give the same frames, so the BIOS is not the cause
(record 2026-10-28-32cdefcdb231). Under the HLE BIOS the disc prints that it
needs the Twin Operator Movie Card or a Hi-Saturn. The edition without the
card, Lunar - Silver Star Story (Japan), reaches its title on the same v1.00
image (record 2026-10-28-9270d1928be7).
BIOS loading: retro_load_game() at yabause/src/libretro/libretro.c:1035-1049.
Core load: LoadBios() at yabause/src/memory.c:1260-1263, T123Load() at yabause/src/memory.h:196-265.
files:
- name: "saturn_bios.bin"
system: sega-saturn
group: saturn-bios
priority: 1
required: true
hle_fallback: true
max_size: 524288
validation: [max_size]
note: "Primary Saturn BIOS. Any region accepted."
source_ref: "source yabause/src/libretro/libretro.c:1035"
- name: "sega_101.bin"
system: sega-saturn
group: saturn-bios
priority: 2
required: true
hle_fallback: true
max_size: 524288
validation: [max_size]
note: "Saturn BIOS v1.01 (Japan). Fallback if saturn_bios.bin missing."
source_ref: "source yabause/src/libretro/libretro.c:1039"
- name: "mpr-17933.bin"
system: sega-saturn
group: saturn-bios
priority: 3
required: true
hle_fallback: true
max_size: 524288
validation: [max_size]
note: "Saturn BIOS (NA/EU). Last fallback."
source_ref: "source yabause/src/libretro/libretro.c:1043"