mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-21 21:45:39 +00:00
MAME (SA): added save folder location
This commit is contained in:
parent
4cefc83d3c
commit
3201de0804
|
@ -27,7 +27,7 @@ swpath /app/share/mame/software
|
|||
cfg_directory /var/config/mame/cfg
|
||||
nvram_directory /var/config/mame/nvram
|
||||
input_directory /var/config/mame/inp
|
||||
state_directory /var/config/mame/sta
|
||||
state_directory RETRODECKSAVESDIR/mame-sa
|
||||
snapshot_directory RETRODECKHOMEDIR/screenshots
|
||||
diff_directory /var/config/mame/diff
|
||||
comment_directory /var/config/mame/comments
|
||||
|
|
|
@ -708,10 +708,12 @@ prepare_emulator() {
|
|||
echo "Initializing MAME"
|
||||
echo "----------------------"
|
||||
|
||||
mkdir -p $saves_folder/mame-sa
|
||||
mkdir -p "/var/config/mame"
|
||||
cp -fvr "$emuconfigs/mame/**" "/var/config/mame"
|
||||
sed -i 's#RETRODECKROMSDIR#'$roms_folder'#g' "/var/config/gzdoom/*.ini"
|
||||
sed -i 's#RETRODECKHOMESDIR#'$rdhome'#g' "/var/config/gzdoom/*.ini"
|
||||
sed -i 's#RETRODECKSAVESDIR#'$rdhome'#g' "/var/config/gzdoom/*.ini"
|
||||
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue