Files
libretro/emulators/emux_sms.yml
T
Abdessamad Derraz fcd6753b9e fix: one id per machine for the games fallback
muOS names its GBA folder gameboyadvance first, which resolved to ares's
game-boy-advance. mgba lists nintendo-gba, so the fallback set was empty
and an unrecognised GBA game got no file. ares, dgen, picodrive, fbneo,
fbalpha2019 and emux_sms now use the ids the other profiles use, with
their old spellings kept as SYSTEM_ALIASES (bios.sms and fbneo's
Spectrum sets had fallen to the other bucket of the RetroArch list).

A folder whose name spells a machine its core does not run now also
holds the core's machines: a PC Engine CD folder run by mednafen_pce_fast
got no System Card. Install lists and install/games regenerated.
2026-11-09 06:13:24 +01:00

41 lines
1.5 KiB
YAML

emulator: "emux (SMS)"
type: libretro
core_classification: official_port
source: "https://github.com/libretro/emux"
upstream: "https://github.com/sronsse/emux"
profiled_date: "2026-03-23"
source_commit: "3e558cb15157fcb1944846a845547d369605c963"
core_version: "0.1"
version_basis:
kind: file
path: "configure.ac"
pattern: 'AC_INIT\(\[emux\],\s+\[([0-9][\w.+-]*)'
display_name: "Sega - Master System (Emux SMS)"
cores:
- emux_sms
systems:
- sega-mastersystem
notes: |
emux is a multi-system emulator by Sebastien Ronsse. BIOS and cartridge
code identical between upstream and libretro fork (only difference: libretro
adds g_ram_data/g_ram_size exposure in mach/sms.c for RETRO_MEMORY_SYSTEM_RAM).
BIOS loaded via file_map(PATH_SYSTEM, "bios.sms", 0, BIOS_SIZE) in
sms_mapper_init (controllers/mapper/sms_mapper.c:162-165). Returns false on failure, no HLE
fallback. Mapped at 0x0000, overlays cartridge ROM until bios_disable bit
set in slot control register (controllers/mapper/sms_mapper.c:79-82).
No hash validation. Code accepts any file >= 8192 bytes.
is_experimental=true. No save states, rewind, or netplay.
files:
- name: "bios.sms"
system: sega-mastersystem
description: "Sega Master System BIOS"
required: true
size: 8192
validation: [size]
source_ref: "source controllers/mapper/sms_mapper.c:12 (BIOS_SIZE=0x2000), :61 (bios_path), :162-170 (file_map, then false on a NULL map)"
note: "Mapped at 0x0000, overlays cartridge ROM until bios_disable bit set. file_map rejects files < 8192 bytes (main/file.c:59)."