MAME: creating folders and placing configs

This commit is contained in:
XargonWan 2023-10-13 10:46:28 +02:00
parent c6ca536f23
commit 6192cc31c0

View file

@ -667,14 +667,15 @@ prepare_emulator() {
fi fi
fi fi
if [[ "$emulator" =~ ^(mame|MAME|all)$ ]]; then if [[ "$emulator" =~ ^(mame|MAME|all)$ ]]; then
# TODO: do a proper script # TODO: do a proper script
# This is just a placeholder script to test the emulator's flow # This is just a placeholder script to test the emulator's flow
echo "----------------------" echo "----------------------"
echo "Initializing MAME" echo "Initializing MAME"
echo "----------------------" echo "----------------------"
# TODO: something mkdir -p "/var/config/mame"
mkdir -p "$emuconfigs/mame/**" "/var/config/mame"
fi fi