mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 07:25:38 +00:00
MAME: initialized prepare and open emulator
This commit is contained in:
parent
9f89f1eb38
commit
182b7bcd6d
|
@ -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
|
||||
|
|
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue