MAME: fixed config paths

This commit is contained in:
XargonWan 2024-03-01 13:56:32 +01:00
parent f66e332289
commit a8cd09aa67
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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