MAME: fixing MAME ini location

This commit is contained in:
XargonWan 2024-03-01 08:43:27 +01:00
parent ccb5b44b5e
commit 10d41ee956

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/mame.ini" "$mameconf"
cp -fvr "$emuconfigs/mame/ui.ini" "$mameuiconf"
cp -fvr "$emuconfigs/mame/ini/mame.ini" "$mameconf"
cp -fvr "$emuconfigs/mame/ini/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