Files
libretro/emulators/mednafen_supergrafx.yml
T
Abdessamad Derraz e7aa9e870b fix: state libretro core versions from their code
Each libretro profile records version_basis and core_version is read
there at its pin. snes9x states 1.63 in snes9x.h, nestopia 2.0.0, mgba
0.11.0, vice 3.10, atari800's libretro tree 7.0.0. Cores whose build
takes its version from git carry the nearest tag in describe form
(flycast v2.7-90-ge88b0ce, ppsspp, duckstation, gearcoleco), placeholders
copied from .info files (Git, SVN) are replaced by the code's statement,
and a code that states none is null with kind none.
2026-10-27 19:21:27 +01:00

54 lines
2.1 KiB
YAML

emulator: "Beetle SuperGrafx"
type: libretro
core_classification: community_fork
source: "https://github.com/libretro/beetle-supergrafx-libretro"
upstream: "https://mednafen.github.io/"
profiled_date: "2026-10-04"
source_commit: "9c11dcd213a79d57d2c86313971631af801f2cdc"
core_version: "v1.29.0"
version_basis:
kind: file
path: "libretro.cpp"
pattern: '#define\s+MEDNAFEN_CORE_VERSION\s+"([^"]+)'
display_name: "NEC - PC Engine SuperGrafx (Beetle SuperGrafx)"
cores: [mednafen_supergrafx, beetle_supergrafx, "beetle-supergrafx"]
systems: [nec-pc-engine]
verification: existence
notes: >
Port of Mednafen's pce_fast module with SuperGrafx and CD support.
The card image is read from the system directory by HuC_LoadCD() at
CD-ROM load time (mednafen/pce_fast/huc.cpp:221-245), and the load fails when
the file cannot be opened. Core option "sgx_cdbios" selects which image
to use (default: System Card 3). With "sgx_detect_gexpress" enabled (the
default), DetectGECD() recognises Games Express discs and loads
gexpress.pce whatever the selection (mednafen/pce_fast/pce.cpp:453-454).
DetectSGXCD() detects SuperGrafx CD titles via magic bytes.
Arcade Card emulation is always on (mednafen/settings.cpp:90-91).
HuC_LoadCD() strips a 512-byte header and copies at most 262144 bytes.
No hash or size validation on BIOS load.
files:
- name: "syscard3.pce"
description: "CD-ROM System Card 3.0 (Japan)"
required: true
source_ref: "libretro.cpp:972-973, mednafen/settings.cpp:37"
note: "Default value for sgx_cdbios option."
- name: "syscard2.pce"
description: "CD-ROM System Card 2.0 (Japan)"
required: false
source_ref: "libretro.cpp:974-975"
note: "sgx_cdbios = 'System Card 2'."
- name: "syscard1.pce"
description: "CD-ROM System Card 1.0 (Japan)"
required: false
source_ref: "libretro.cpp:976-977"
note: "sgx_cdbios = 'System Card 1'."
- name: "gexpress.pce"
description: "Games Express CD Card"
required: false
source_ref: "libretro.cpp:978-979, mednafen/pce_fast/pce.cpp:330-367,453-454"
note: "sgx_cdbios = 'Games Express' or auto-detected via DetectGECD()."