From 6192cc31c0a62945280c66cbb3f891f374bd94ac Mon Sep 17 00:00:00 2001 From: XargonWan Date: Fri, 13 Oct 2023 10:46:28 +0200 Subject: [PATCH] MAME: creating folders and placing configs --- functions/prepare_emulator.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/functions/prepare_emulator.sh b/functions/prepare_emulator.sh index cc1ecf23..f478f231 100644 --- a/functions/prepare_emulator.sh +++ b/functions/prepare_emulator.sh @@ -667,14 +667,15 @@ prepare_emulator() { fi fi - if [[ "$emulator" =~ ^(mame|MAME|all)$ ]]; then + 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 + mkdir -p "/var/config/mame" + mkdir -p "$emuconfigs/mame/**" "/var/config/mame" fi