mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 23:45:39 +00:00
MAME-SA: fixes for the future hiscore implementation [skip ci]
This commit is contained in:
parent
0e5c59c939
commit
bd8377067a
|
@ -27,7 +27,7 @@ swpath /app/share/mame/software
|
||||||
cfg_directory /var/config/mame/cfg
|
cfg_directory /var/config/mame/cfg
|
||||||
nvram_directory /var/config/mame/nvram
|
nvram_directory /var/config/mame/nvram
|
||||||
input_directory /var/config/mame/inp
|
input_directory /var/config/mame/inp
|
||||||
state_directory RETRODECKSAVESDIR/mame-sa
|
state_directory RETRODECKSAVESDIR/mame-sa/states
|
||||||
snapshot_directory RETRODECKHOMEDIR/screenshots
|
snapshot_directory RETRODECKHOMEDIR/screenshots
|
||||||
diff_directory /var/config/mame/diff
|
diff_directory /var/config/mame/diff
|
||||||
comment_directory /var/config/mame/comments
|
comment_directory /var/config/mame/comments
|
||||||
|
|
|
@ -710,6 +710,7 @@ prepare_emulator() {
|
||||||
|
|
||||||
mkdir -p $saves_folder/mame-sa
|
mkdir -p $saves_folder/mame-sa
|
||||||
mkdir -p "/var/config/mame"
|
mkdir -p "/var/config/mame"
|
||||||
|
dir_prep "$saves_folder/mame-sa/hiscore" "/var/config/mame/hiscore"
|
||||||
cp -fvr "$emuconfigs/mame/**" "/var/config/mame"
|
cp -fvr "$emuconfigs/mame/**" "/var/config/mame"
|
||||||
sed -i 's#RETRODECKROMSDIR#'$roms_folder'#g' "/var/config/gzdoom/*.ini"
|
sed -i 's#RETRODECKROMSDIR#'$roms_folder'#g' "/var/config/gzdoom/*.ini"
|
||||||
sed -i 's#RETRODECKHOMESDIR#'$rdhome'#g' "/var/config/gzdoom/*.ini"
|
sed -i 's#RETRODECKHOMESDIR#'$rdhome'#g' "/var/config/gzdoom/*.ini"
|
||||||
|
|
Loading…
Reference in a new issue