From b277fbb015a8caa98b463c4bc6f2687c0e7ae252 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Sat, 24 Oct 2026 01:13:44 +0200 Subject: [PATCH] feat: add mame data root Standalone MAME resolves every default search path against the working directory (src/emu/emuopts.cpp:43-55). --- emulators/mame.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/emulators/mame.yml b/emulators/mame.yml index fec1a33b..8b305eb2 100644 --- a/emulators/mame.yml +++ b/emulators/mame.yml @@ -90,6 +90,20 @@ systems: - vectrex - vgmplay +data_root: + windows: + path: "" + source_ref: "src/emu/emuopts.cpp:43-55" + note: "The folder mame.exe is started from. A mame.ini in it or in ini/ can point rompath and the other search paths elsewhere" + macos: + path: "" + source_ref: "src/emu/emuopts.cpp:43-55, src/osd/sdl3/sdlopts.cpp:27-35, 107-116" + note: "A mame.ini in ~/Library/Application Support/mame or ~/.mame can point rompath and the other search paths elsewhere" + linux: + path: "" + source_ref: "src/emu/emuopts.cpp:43-55, src/osd/sdl/sdlopts.cpp:27-35, 107-116" + note: "A mame.ini in ~/.mame can point rompath and the other search paths elsewhere" + notes: | Rolling release tracking mamedev/mame upstream (0.289 at the pinned commits). The archives below are the BIOS root sets, the ROM sets of the machines of the