mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55: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
|
||||||
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
|
# Update presets for all emulators after any reset or move
|
||||||
if [[ ! "$emulator" == "retrodeck" ]]; then
|
if [[ ! "$emulator" == "retrodeck" ]]; then
|
||||||
build_retrodeck_current_presets
|
build_retrodeck_current_presets
|
||||||
|
|
|
@ -29,6 +29,7 @@ source /app/libexec/global.sh
|
||||||
# - Citra
|
# - Citra
|
||||||
# - Dolphin
|
# - Dolphin
|
||||||
# - Duckstation
|
# - Duckstation
|
||||||
|
# - MAME
|
||||||
# - MelonDS
|
# - MelonDS
|
||||||
# - PCSX2
|
# - PCSX2
|
||||||
# - PPSSPP
|
# - PPSSPP
|
||||||
|
@ -435,6 +436,7 @@ configurator_open_emulator_dialog() {
|
||||||
"Citra" "Open the N3DS emulator Citra" \
|
"Citra" "Open the N3DS emulator Citra" \
|
||||||
"Dolphin" "Open the Wii & GC emulator Dolphin" \
|
"Dolphin" "Open the Wii & GC emulator Dolphin" \
|
||||||
"Duckstation" "Open the PSX emulator Duckstation" \
|
"Duckstation" "Open the PSX emulator Duckstation" \
|
||||||
|
"MAME" "Open the Multiple Arcade Machine Emulator emulator MAME" \
|
||||||
"MelonDS" "Open the NDS emulator MelonDS" \
|
"MelonDS" "Open the NDS emulator MelonDS" \
|
||||||
"PCSX2" "Open the PS2 emulator PSXC2" \
|
"PCSX2" "Open the PS2 emulator PSXC2" \
|
||||||
"PPSSPP" "Open the PSP emulator PPSSPP" \
|
"PPSSPP" "Open the PSP emulator PPSSPP" \
|
||||||
|
@ -466,6 +468,10 @@ configurator_open_emulator_dialog() {
|
||||||
duckstation-qt
|
duckstation-qt
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"MAME" )
|
||||||
|
mame
|
||||||
|
;;
|
||||||
|
|
||||||
"MelonDS" )
|
"MelonDS" )
|
||||||
melonDS
|
melonDS
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue