mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-25 15:35:38 +00:00
MAME: fixed config paths
This commit is contained in:
parent
f66e332289
commit
a8cd09aa67
|
@ -116,8 +116,8 @@ vita3kusrconfdir="$bios_folder/Vita3K/Vita3K"
|
|||
|
||||
# MAME-SA config files
|
||||
|
||||
mameconf="/var/config/mame/mame.ini"
|
||||
mameuiconf="/var/config/mame/ui.ini"
|
||||
mameconf="/var/config/mame/ini/mame.ini"
|
||||
mameuiconf="/var/config/mame/ini/ui.ini"
|
||||
mamedefconf="/var/config/mame/cfg/default.cfg"
|
||||
|
||||
# We moved the lockfile in /var/config/retrodeck in order to solve issue #53 - Remove in a few versions
|
||||
|
|
|
@ -744,8 +744,8 @@ prepare_component() {
|
|||
create_dir "/var/data/mame/assets/ui"
|
||||
|
||||
dir_prep "$saves_folder/mame-sa/hiscore" "/var/config/mame/hiscore"
|
||||
cp -fvr "$emuconfigs/mame/ini/mame.ini" "$mameconf"
|
||||
cp -fvr "$emuconfigs/mame/ini/ui.ini" "$mameuiconf"
|
||||
cp -fvr "$emuconfigs/mame/mame.ini" "$mameconf"
|
||||
cp -fvr "$emuconfigs/mame/ui.ini" "$mameuiconf"
|
||||
cp -fvr "$emuconfigs/mame/default.cfg" "$mamedefconf"
|
||||
|
||||
sed -i 's#RETRODECKROMSDIR#'$roms_folder'#g' "$mameconf" # one-off as roms folders are a lot
|
||||
|
|
Loading…
Reference in a new issue