From 3820aa3cc872b5a5682aa7597549064119dc5ac0 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Wed, 11 Nov 2026 11:21:23 +0100 Subject: [PATCH] fix: prove AdvanceMAME's dir_rom at EmuELEC build EmuELEC builds AdvanceMAME at 6a34ec0 (package.mk PKG_VERSION, v4.8). At that build advmame.rc is read from the home, host and data folders (advance/osd/emu.c:754-757, 779-791) and the dir_* keys set each search folder (advance/osd/fileio.c:72-86, 798-815). With the config_reads the launcher evidence rule asks for, EmuELEC's advmame.sh dir_rom records bind again: its manifest gets back the 29 sets in roms/arcade and the 29 in roms/mame. --- emulators/advancemame.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/emulators/advancemame.yml b/emulators/advancemame.yml index b1e4dd9c6..680f1abec 100644 --- a/emulators/advancemame.yml +++ b/emulators/advancemame.yml @@ -13,6 +13,20 @@ version_basis: distance: 453 mame_version: "0.106" display_name: "Arcade (AdvanceMAME)" +pin_build: + - platform: emuelec + repo: "https://github.com/EmuELEC/EmuELEC" + revision: "v4.8" + path: "packages/sx05re/emulators/advancemame/package.mk" + variable: PKG_VERSION + value: "6a34ec0ec3fd74535ae559304ceb6c7ce63acff5" +config_reads: + - file: "advmame.rc" + platforms: [emuelec] + source_ref: "advance/osd/emu.c:754-757, 779-791" + keys: + - key: ["dir_rom", "dir_image", "dir_diff", "dir_sample", "dir_artwork", "dir_nvram", "dir_hi", "dir_inp", "dir_sta", "dir_memcard", "dir_snap"] + source_ref: "advance/osd/fileio.c:72-86, 798-815" mode: standalone cores: