MAME: added wrapper

This commit is contained in:
XargonWan 2024-02-26 13:47:22 +01:00
parent bd9197ca59
commit 5fae1b9866
5 changed files with 9 additions and 2 deletions

View file

@ -0,0 +1,3 @@
#!/bin/bash
mame -inipath /var/config/mame

View file

@ -463,7 +463,7 @@
<emulator name="MAME"> <emulator name="MAME">
<!-- Arcade emulator MAME --> <!-- Arcade emulator MAME -->
<rule type="systempath"> <rule type="systempath">
<entry>mame</entry> <entry>mame-rdwrapper.sh</entry>
<entry>org.mamedev.MAME</entry> <entry>org.mamedev.MAME</entry>
</rule> </rule>
<rule type="staticpath"> <rule type="staticpath">

View file

@ -1358,6 +1358,10 @@ modules:
- cp emu-configs/gzdoom/gzdoom.sh ${FLATPAK_DEST}/bin/gzdoom.sh - cp emu-configs/gzdoom/gzdoom.sh ${FLATPAK_DEST}/bin/gzdoom.sh
- chmod +x ${FLATPAK_DEST}/bin/gzdoom.sh - chmod +x ${FLATPAK_DEST}/bin/gzdoom.sh
# MAME wrapper
- cp emu-configs/mame/mame-rdwrapper.sh ${FLATPAK_DEST}/bin/mame-rdwrapper.sh
- chmod +x ${FLATPAK_DEST}/bin/mame-rdwrapper.sh
sources: sources:
- type: git - type: git
url: https://github.com/XargonWan/RetroDECK.git url: https://github.com/XargonWan/RetroDECK.git

View file

@ -476,7 +476,7 @@ configurator_open_emulator_dialog() {
;; ;;
"MAME" ) "MAME" )
mame mame-rdwrapper.sh
;; ;;
"MelonDS" ) "MelonDS" )