mirror of
https://github.com/RetroDECK/RetroDECK.git
synced 2024-11-22 05:55:38 +00:00
MAME: config paths fixes
This commit is contained in:
parent
fe0cde2b79
commit
2b85d32e9e
|
@ -115,7 +115,8 @@ vita3kusrconfdir="$bios_folder/Vita3K/Vita3K"
|
|||
# MAME-SA config files
|
||||
|
||||
mameconf="/var/config/mame/mame.ini"
|
||||
mameuiconf="$bios_folder/Vita3K/ui.ini"
|
||||
mameuiconf="/var/config/mame/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
|
||||
if [[ -f "$HOME/retrodeck/.lock" ]]; then
|
||||
|
|
|
@ -757,9 +757,9 @@ prepare_component() {
|
|||
mkdir -p "/var/data/mame/assets/ui"
|
||||
|
||||
dir_prep "$saves_folder/mame-sa/hiscore" "/var/config/mame/hiscore"
|
||||
cp -fvr "$emuconfigs/mame/mame.ini" "/var/config/mame/cfg"
|
||||
cp -fvr "$emuconfigs/mame/ui.ini" "/var/config/mame/cfg"
|
||||
cp -fvr "$emuconfigs/mame/default.cfg" "/var/config/mame/cfg"
|
||||
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
|
||||
set_setting_value "$mameconf" "nvram_directory" "$saves_folder/mame-sa/nvram" "mame"
|
||||
|
|
Loading…
Reference in a new issue