diff --git a/functions/prepare_emulator.sh b/functions/prepare_emulator.sh index 0f880fe3..cc1ecf23 100644 --- a/functions/prepare_emulator.sh +++ b/functions/prepare_emulator.sh @@ -667,6 +667,17 @@ prepare_emulator() { fi fi + if [[ "$emulator" =~ ^(mame|MAME|all)$ ]]; then + # TODO: do a proper script + # This is just a placeholder script to test the emulator's flow + echo "----------------------" + echo "Initializing MAME" + echo "----------------------" + + # TODO: something + + fi + # Update presets for all emulators after any reset or move if [[ ! "$emulator" == "retrodeck" ]]; then build_retrodeck_current_presets diff --git a/tools/configurator.sh b/tools/configurator.sh index 52813c3e..9e670a4b 100644 --- a/tools/configurator.sh +++ b/tools/configurator.sh @@ -29,6 +29,7 @@ source /app/libexec/global.sh # - Citra # - Dolphin # - Duckstation +# - MAME # - MelonDS # - PCSX2 # - PPSSPP @@ -435,6 +436,7 @@ configurator_open_emulator_dialog() { "Citra" "Open the N3DS emulator Citra" \ "Dolphin" "Open the Wii & GC emulator Dolphin" \ "Duckstation" "Open the PSX emulator Duckstation" \ + "MAME" "Open the Multiple Arcade Machine Emulator emulator MAME" \ "MelonDS" "Open the NDS emulator MelonDS" \ "PCSX2" "Open the PS2 emulator PSXC2" \ "PPSSPP" "Open the PSP emulator PPSSPP" \ @@ -466,6 +468,10 @@ configurator_open_emulator_dialog() { duckstation-qt ;; + "MAME" ) + mame + ;; + "MelonDS" ) melonDS ;;